79600 Commits

Author SHA1 Message Date
Adrian Ludwig
d966c19c09 am 4bc97b54: Fix build.
* commit '4bc97b54f4ae186afb65e1b067b9f8173e124b28':
  Fix build.
2012-06-01 19:02:44 -07:00
Svetoslav Ganov
a90e4512ab Calling the correct method when adding accessibility focusables.
1. Since we added explicit accessibility focusable attribute when
   adding focusables views that do so should call this method. Some
   views were not updated to do so.

bug:6581924

Change-Id: Id64c0b2d76e5269ebf3fbe17203e73b174bdb843
2012-06-01 19:02:42 -07:00
Chet Haase
5d666b9494 am faa3233e: Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev
* commit 'faa3233ecdf543381d2d5e3f61829a58e7f4ef49':
  Skip LayoutTransition animations on objects of size (0,0)
2012-06-01 19:02:41 -07:00
Adam Powell
cb5ca957a2 am 1de19907: Merge "Update indeterminate progress bar assets" into jb-dev
* commit '1de199079d715a260333d5545f02f09478bc67e5':
  Update indeterminate progress bar assets
2012-06-01 19:02:34 -07:00
Adrian Ludwig
abd9ff02f7 am d070e3da: Merge "Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."" into jb-dev
* commit 'd070e3daa484a2265cb9fdb57af10d31bbb2e9f4':
  Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."
2012-06-01 19:02:14 -07:00
Justin Ho
7cca871de1 am 5caa24fd: Merge "Temporarily disable FakeOemFeatures from userdebug or higher builds" into jb-dev
* commit '5caa24fd3eb12edbc75f35dba831166b8ebe603f':
  Temporarily disable FakeOemFeatures from userdebug or higher builds
2012-06-01 19:02:11 -07:00
Daniel Sandler
90c31f8b76 am 01827ce9: Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev
* commit '01827ce9f2d5f4441c7f7b0211d2739824320daf':
  Be more discriminating when canceling notifications on changing packages.
2012-06-01 19:01:53 -07:00
Daniel Sandler
1f199f1d04 am 0a19dba5: Merge "Present a one-time chooser when sharing screenshots." into jb-dev
* commit '0a19dba545d25760839399e4bc8ece6d9cc888da':
  Present a one-time chooser when sharing screenshots.
2012-06-01 19:01:45 -07:00
Svetoslav Ganov
b6001195f3 am 6acca244: Merge "Cannot double tap and hold outside of the input focused window." into jb-dev
* commit '6acca2442572a28b7d9428e5e2fc2aa4271e29f9':
  Cannot double tap and hold outside of the input focused window.
2012-06-01 19:01:40 -07:00
Dianne Hackborn
3522225dba am ea01e4a2: Merge "Survey says: NIET!" into jb-dev
* commit 'ea01e4a2d5cc28093e9fd720055082b2d3f708d9':
  Survey says: NIET!
2012-06-01 19:01:33 -07:00
Irfan Sheriff
7742b91c7e am 1b3dcd3b: Merge "Fix NPE while creating autonomous GO" into jb-dev
* commit '1b3dcd3bda605d766da64b48b22bb96a875e728a':
  Fix NPE while creating autonomous GO
2012-06-01 19:01:28 -07:00
Raph Levien
dcf1251c92 am 79f7381f: Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev
* commit '79f7381f8b4e9a462d012740c2a902ae3de8a6b0':
  Fix bug 6596440: NPE when pulling down notification window
2012-06-01 19:01:03 -07:00
Jeff Brown
8363fb73b5 am 40ba4dad: Merge "Add a thread to handle the radio shutdown." into jb-dev
* commit '40ba4dad4c56b8a7fbae4a93a6e5385993301ad4':
  Add a thread to handle the radio shutdown.
2012-06-01 19:00:49 -07:00
Adam Powell
9a1de308ce Add MediaRouter API.
This is just the initial state tracking. Still to go is
actually triggering Bluetooth A2DP correctly and tracking
process state in the system server.

Change-Id: I33031d52799d6e2d7208910da833831085cc3677
2012-06-01 18:19:20 -07:00
Adrian Ludwig
6d4d35e382 Merge "Revert "Update long strings to provide users with more information about permissions."" into jb-dev 2012-06-01 17:38:03 -07:00
Adrian Ludwig
1869440378 Revert "Update long strings to provide users with more information about permissions."
This reverts commit 714665c7a3bc4b4702e031448864d3d341f1f098
2012-06-01 17:33:38 -07:00
Adrian Ludwig
c16a199eac Merge "Update long strings to provide users with more information about permissions." into jb-dev 2012-06-01 17:32:44 -07:00
Adrian Ludwig
714665c7a3 Update long strings to provide users with more information about permissions.
Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

Conflicts:

	core/res/res/values/strings.xml
2012-06-01 17:20:20 -07:00
Adrian Ludwig
4bc97b54f4 Fix build.
Change-Id: I739102258739ceb9856b8867949fa7f53532189d
2012-06-01 16:03:04 -07:00
Craig Mautner
d29568cf5f Fix power manager issues.
1. If a new brightness animation is started while an unrelated one is
ongoing complete the old animation immediately. Unrelated means that
the old and new animations apply to different devices (button,
keyboard, or screen).

2. Do not interpret turning off the keyboard or button lights as
turning off the screen in isScreenTurningOffLocked().

Fixes bug 6519847.

Change-Id: I53a20951036bcdb793daeff84a9ebeed44be01fc
2012-06-01 16:02:47 -07:00
Chet Haase
faa3233ecd Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev 2012-06-01 15:52:28 -07:00
Adam Powell
1de199079d Merge "Update indeterminate progress bar assets" into jb-dev 2012-06-01 15:29:54 -07:00
Adam Powell
d0f8ea5ce0 Update indeterminate progress bar assets
Bug 6587381

Change-Id: I2154ab36d697d5cee098fa7134288c1b45ca1de4
2012-06-01 15:22:36 -07:00
Chet Haase
66ef1a201e Skip LayoutTransition animations on objects of size (0,0)
LayoutTransition runs changing animations on all objects that change between
now and the next layout. This works in most normal situations, but when a container
is becoming visible, or being added to its container, or other first-time situations,
then some of the views and parent hierarchy may be of size (0,0). The user really
shouldn't need to see an animation up from these nonsense values, so we just
skip running the animation on these objects and simply place the objects where they
need to go.

Issue #6597648 view should not animate up from size (0,0)

Change-Id: I2c355a68bf1ce3b41fbec01ad95c78d83562ba32
2012-06-01 15:09:07 -07:00
Adrian Ludwig
d070e3daa4 Merge "Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."" into jb-dev 2012-06-01 14:54:07 -07:00
Justin Ho
5caa24fd3e Merge "Temporarily disable FakeOemFeatures from userdebug or higher builds" into jb-dev 2012-06-01 14:51:49 -07:00
Daniel Sandler
01827ce9f2 Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev 2012-06-01 14:31:05 -07:00
Daniel Sandler
0a19dba545 Merge "Present a one-time chooser when sharing screenshots." into jb-dev 2012-06-01 14:29:07 -07:00
Daniel Sandler
26cda27d2e Hide notifications until the device is provisioned.
During Setup (0 == Settings.Secure.DEVICE_PROVISIONED)
there's no reason to show notifications, unless they're
coming from the platform (and therefore essential to the
setup process), like the IME switcher.

We also disable the settings button and ticker while the
device is not provisioned.

Bug: 6355011
Change-Id: I1522f0c0fed3f2f95a36bd71d051248e12f0a1f8
2012-06-01 17:25:24 -04:00
Adrian Ludwig
4c52235fbc Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."
This reverts commit a8a200278dcc232eabd4550f814439c94857c47c.

Conflicts:

	core/res/AndroidManifest.xml
	core/res/res/values/strings.xml

Change-Id: I3f76d93a6ffde031bf82c2afea315ebcdbc179e3
2012-06-01 14:22:03 -07:00
Svetoslav Ganov
6acca24425 Merge "Cannot double tap and hold outside of the input focused window." into jb-dev 2012-06-01 14:19:05 -07:00
Dianne Hackborn
ea01e4a2d5 Merge "Survey says: NIET!" into jb-dev 2012-06-01 14:13:08 -07:00
Justin Ho
569ca8b7dd Temporarily disable FakeOemFeatures from userdebug or higher builds
Change-Id: I452d079f60a087a36c20e984b38b8354327e1d5a
2012-06-01 14:09:26 -07:00
Jim Miller
3294b6b09b Fix 6592932: add means to replace assist icon from given package
This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist.  It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST.  It should point to a StateListDrawable
in that package with the required states.  For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
    android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_normal" />
    <item android:state_enabled="true"
        android:state_active="true"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_activated" />
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="true"
        android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
2012-06-01 14:08:28 -07:00
Svetoslav Ganov
238099c0db Cannot double tap and hold outside of the input focused window.
1. The long press routine was using the coordintates of the
   accessibility focused item in the input focused window.
   As a result double tap and hold did not work in a window
   that does not take input focus such as the system bar.
   Now the routine is using the last touch explored location
   if it cannot find accessibility focus in the last touched
   window.

bug:6584438

Change-Id: Ifd43adb20a066f389a9d4bd5716dd7ad834dd574
2012-06-01 13:59:28 -07:00
Dianne Hackborn
4034bc431d Survey says: NIET!
Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
2012-06-01 13:38:48 -07:00
Irfan Sheriff
1b3dcd3bda Merge "Fix NPE while creating autonomous GO" into jb-dev 2012-06-01 13:38:10 -07:00
Daniel Sandler
26ece57dad Be more discriminating when canceling notifications on changing packages.
Specifically: don't do it if the package is enabled at the
time the PACKAGE_CHANGED broadcast is sent. (We only want to
cancel notifications when packages enter the disabled
state.)

Bug: 6589355
Change-Id: Iba754cef27e2bdff35a13e403a867933c996f562
2012-06-01 16:26:46 -04:00
Daniel Sandler
046fddff5b Present a one-time chooser when sharing screenshots.
Bug: 6561747
Change-Id: I0ee98d10e6927a9166e643a4a965285a62379a9b
2012-06-01 16:26:46 -04:00
Raph Levien
79f7381f8b Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev 2012-06-01 13:02:36 -07:00
Irfan Sheriff
ba5065eaf3 Fix NPE while creating autonomous GO
When autonomous GO is being created and we get a device lost event,
fix NPE

Bug: 6595978
Change-Id: Id93b693b8bcc447aea03c04be7556b1f2ff00a90
2012-06-01 12:47:30 -07:00
Jeff Brown
40ba4dad4c Merge "Add a thread to handle the radio shutdown." into jb-dev 2012-06-01 12:47:07 -07:00
Raph Levien
311a961a9a Fix bug 6596440: NPE when pulling down notification window
Pulling down the notification window set the navigation bar view to
"slippery", but this view is NULL on some devices such as Crespo.
The fix simply makes it a no-op in this case.

Change-Id: I720a257c1715febda5932d50906c5dddbca2b312
2012-06-01 12:02:13 -07:00
Fabrice Di Meglio
7806882541 Merge "Clean up layout direction APIs for Drawable" 2012-06-01 11:41:58 -07:00
Fabrice Di Meglio
c1da65187a Clean up layout direction APIs for Drawable
- see bug #6427629

Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
2012-06-01 11:39:10 -07:00
Eric Fischer
7c9979b664 Merge "Import translations. DO NOT MERGE" 2012-06-01 11:33:27 -07:00
Eric Fischer
42ad8d26cd am 513731c0: (-s ours) am a3489c50: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '513731c04e5c4dc17a2c10c80ebe19066cabc4c1':
  Import translations. DO NOT MERGE
2012-06-01 11:25:58 -07:00
Eric Fischer
8323c01b98 Import translations. DO NOT MERGE
Change-Id: I21004e24086a16addd24a66058fb5932fd157e4c
2012-06-01 11:23:03 -07:00
Eric Fischer
513731c04e am a3489c50: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'a3489c50b6341a79aeb5d469debf6e77b7c298d9':
  Import translations. DO NOT MERGE
2012-06-01 11:22:48 -07:00
Svetoslav Ganov
6604496b53 am dd5543a6: am ac483ac4: Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev
* commit 'dd5543a6ffb2f543d9a45b541808561370c34f86':
  AccessibilityInteractionController crash with IndexOutOfBoundException.
2012-06-01 11:20:43 -07:00