31120 Commits

Author SHA1 Message Date
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
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
Dianne Hackborn
ea01e4a2d5 Merge "Survey says: NIET!" into jb-dev 2012-06-01 14:13:08 -07:00
Dianne Hackborn
4034bc431d Survey says: NIET!
Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
2012-06-01 13:38:48 -07:00
Eric Fischer
a3489c50b6 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-01 11:20:12 -07:00
Eric Fischer
e41b07431c Import translations. DO NOT MERGE
Change-Id: I52e722cf5764a415d56036183bcd79907c011dc0
2012-06-01 11:18:05 -07:00
Svetoslav Ganov
ac483ac41f Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev 2012-06-01 11:14:12 -07:00
Svetoslav Ganov
30ac645210 AccessibilityInteractionController crash with IndexOutOfBoundException.
1. The findAccessibilityNodeInfosByTextUiThread was reusing an ArrayList
   instance also used by the logic to initialize an AccessibilityNodeInfo.
   Hence, if the find method got some view and creates the infos for them
   the method creating the info was reusing the same array list and was
   nuking its contents.

bug:6556585

Change-Id: I1d013bf7b1f715f8b4c4ba60c677233bec40647c
2012-06-01 09:10:30 -07:00
Svetoslav Ganov
1c094d338d Merge "Increase string length limit to fit translation." into jb-dev 2012-06-01 08:53:00 -07:00
Svetoslav Ganov
00ca7a8827 Merge "Accessibility focus traversal of lists inconsistent." into jb-dev 2012-06-01 08:52:19 -07:00
Chet Haase
561ff8a74e Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev 2012-06-01 07:29:53 -07:00
Svetoslav Ganov
b97c5d25c3 Increase string length limit to fit translation.
bug:6575039

Change-Id: I64fd00add017d02a1a5ccadc3f324f1f2793bbba
2012-05-31 20:25:30 -07:00
Svetoslav Ganov
2dda468606 Accessibility focus traversal of lists inconsistent.
1. Now the list traversal forward is the exact opposite
   of the traversal backward.

2. The focus search starts from the view against which
   the call is made as opposed to the one that has focus.
   This is now consistent with the rest of the focus search.

bug:6537747

Change-Id: Ida6a696636a3099531155fcbff256f71264f5008
2012-05-31 20:16:40 -07:00
Dianne Hackborn
d53710ce64 Merge "Extend process observer to be usable for media routing." into jb-dev 2012-05-31 19:04:44 -07:00
Dianne Hackborn
a93c2c117d Extend process observer to be usable for media routing.
It now has a new callback to report changes in the "importance"
of processes.  Rewrote the dispatching code to be a bit more
efficient now that we are sending more reports.

Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
2012-05-31 18:58:34 -07:00
Jeff Brown
6e8e41a336 Merge "Use sp<LooperCallback> to fix race causing dangling pointer." into jb-dev 2012-05-31 18:39:20 -07:00
Chris Craik
53913ed55c Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev 2012-05-31 17:57:45 -07:00
Chet Haase
486590963e Skip eglSwapBuffers() call when we do not draw to GL
The fix is to track when we issue GL drawing commands, and to skip the
call to eglSwapBuffers() when a DisplayList does not result in
any actual rendering calls to GL.

Issue #6364143 QuickMuni list items and buttons flicker instead of fade

Change-Id: I60a02c61a58c32d92481a1e814b4c8a49c6a37a3
2012-05-31 17:22:27 -07:00
Alice Yang
be50440152 Merge "Fix bug where existing account not pre-checked" into jb-dev 2012-05-31 17:09:25 -07:00
Jeff Brown
80a1de1007 Use sp<LooperCallback> to fix race causing dangling pointer.
Bug: 6559630
Change-Id: I9b9c76577779841006f9c024a80685ba8b7cd0e1
2012-05-31 16:23:11 -07:00
Alice Yang
6cab5e823a Fix bug where existing account not pre-checked
The fix was to call ListView.setItemChecked()
instead of ListView.setSelection() for setting radio button status.
Also refactored the code a bit so it's less verbose.

Bug 6588533

Change-Id: I8add072a0277183baec7c0d5634a28f2d3a28c5e
2012-05-31 15:48:51 -07:00
Eric Fischer
69a1f6e6a1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-31 15:41:07 -07:00
Chris Craik
41ee465734 Force webview invalidates on unsuccessful functor attach
Functor attach should always be successful, but adding a fallback just in
case. Also invalidates the WebView on initial content arriving.

bug:6511995
Change-Id: Ibca16505afec9f693ea4a7cc4966cd6d7353725c
2012-05-31 15:23:11 -07:00
Amith Yamasani
4a3a9685d1 Merge "Protect volumepanel slider creation from race condition." into jb-dev 2012-05-31 13:08:07 -07:00
Eric Fischer
70a9975ab8 Import translations. DO NOT MERGE
Change-Id: Id25d07811a971bc2e52eaa9e755477114642af93
2012-05-31 12:52:04 -07:00
Makoto Onuki
bde32efa20 Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev 2012-05-31 10:58:58 -07:00
Eric Laurent
cee7203f9a Merge "Send device connection intents from AudioService" into jb-dev 2012-05-31 08:22:50 -07:00
Eino-Ville Talvala
28795d883a Merge "Fix race condition with preview callback." into jb-dev 2012-05-30 19:07:55 -07:00
Svetoslav Ganov
758534ed50 Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev 2012-05-30 19:06:23 -07:00
Svetoslav Ganov
9a4c5cd191 Ask to enable touch exploration only the first time it enables the feature.
1. Now we are asking the user to grant permission to the service to enable
   touch exploration only the first time this service is enabled. If the
   service was uninstalled and then later installed we ask the user again.
   This avoids the scenario in which rebooting the device or upgrading an
   accessibility service leaves the device in a state in which the user
   cannot interact with.

bug:6582088

Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
2012-05-30 18:41:08 -07:00
Amith Yamasani
a654986978 Protect volumepanel slider creation from race condition.
It is possible for 2 different threads to poke the mStreamControls at the same time,
causing the monkey bug mentioned in the bug report below.

Bug: 6411852

Couldn't think of any other reason Stream type 3 (MUSIC) wouldn't exist in the list.
It's possible that a programmatic call came in at the same time as the volume key press.

Synchronizing blocks where the mStreamControls are populated and accessed.

Change-Id: Ifedec6b0f8bad9634cb9e079fda785c433bdb7a7
2012-05-30 18:28:08 -07:00
Dianne Hackborn
388d4801d5 Merge "Working on issue #6561352: java.lang.RuntimeException: Unable to start..." into jb-dev 2012-05-30 18:11:23 -07:00
Svetoslav Ganov
f14c078ccc Merge "Don't mark list headers or invalid items as disabled." into jb-dev 2012-05-30 17:47:02 -07:00
Chet Haase
762ca84cb2 Merge "Sped up ActionBar and StatusBar animations" into jb-dev 2012-05-30 17:22:37 -07:00
Eino-Ville Talvala
ca367b7178 Fix race condition with preview callback.
Bug: 6301018
Change-Id: I19b8bc03ef3983d69e1e986c0f1a8154af5ab080
2012-05-30 17:06:54 -07:00
Chet Haase
e8118e17b2 Sped up ActionBar and StatusBar animations
Animations to show/hide the ActionBar and StatusBar were very slow, given
the size of the objects and the distances covered by the sliding animations.
Also, the ActionBar animation was sometimes hiccuppy as it faded in/out.
This change eliminates the ActionBar fade (which is unnecessary) and speeds
up the animations (smaller durations and steeper interpolation curves). Also,
it eliminates the startDelay on the ActionBar show animation.

Issue #6564089 Options menu should slide in much quicker (nakasi/JB)

Change-Id: I2c8298301f7bf26bbbc94444e715420a2c029ba0
2012-05-30 16:47:54 -07:00
Dianne Hackborn
61af8a8ef7 Working on issue #6561352: java.lang.RuntimeException: Unable to start...
...activity ComponentInfo{com.google.android.googlequicksearchbox
/com.google.android.googlequicksearchbox.SearchActivity}

Add check for a situation where we are saving the state of a
fragment with a -1 index, and fail early in that case with more
debug information.

Change-Id: I03a928dde521fa06664d0036dd9f90eef3247afc
2012-05-30 16:38:30 -07:00
Kenny Root
03e93e51c8 Merge "Move package-wide flags out of parseApplication" into jb-dev 2012-05-30 15:43:42 -07:00
Amith Yamasani
90f658e17d Merge "Preserve account list in order of creation in the database." into jb-dev 2012-05-30 15:43:19 -07:00
Jeff Brown
943a8beca5 Merge "Increase busy timeout." into jb-dev 2012-05-30 15:40:21 -07:00
alanv
325ea8deb8 Don't mark list headers or invalid items as disabled.
Bug: 6581689
Change-Id: I4088cdc7e785e60fe7e30807cdf045131584f29d
2012-05-30 15:36:18 -07:00
Fabrice Di Meglio
f053e2367d Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev 2012-05-30 15:31:23 -07:00
Kenny Root
7cb9be26c1 Move package-wide flags out of parseApplication
Being on SD card and being forward-locked are package-wide flags that
shouldn't depend on an APK having an <application> stanza.

Bug: 6563724
Change-Id: If5f2159cd8e3fa136f959b656d82b05ea6bdfae5
2012-05-30 15:30:37 -07:00
Jeff Brown
676c519ec4 Increase busy timeout.
Bug: 6579925
Change-Id: I110d9a98479cbfcc518deef6d59b0f956396b6da
2012-05-30 15:18:51 -07:00
Jeff Brown
9154b87780 Merge "Fix comparison of device source bits." into jb-dev 2012-05-30 15:00:39 -07:00
Eric Laurent
b1fbaaccb6 Send device connection intents from AudioService
AudioService is currently notified of wired headset and A2DP
sink connection states via broadcast intents from WiredAccessoryObserver
and BluetoothA2dpService. This is a problem as there is no guaranty that
AudioService can take actions upon the change before other apps are notified.
For instance, the Play On feature requires the UI to be refreshed when a device
is inserted/removed and we must guaranty that the UI component can read
new A2DP enable state from AudioManager after it receives a device connection state
change intent.

- Added hidden methods to AudioManager so that WiredAccessoryObserver
and BluetoothA2dpService can notify AudioService of device connection directly.
- The wired accessories connection intents are now sent by AudioService.
- The A2DP state change intent is delayed by BluetoothA2DPService when
ACTION_AUDIO_BECOMING_NOISY is sent by AudioService
- ACTION_AUDIO_BECOMING_NOISY intent is not sent when disconnecting A2DP
while a wired headset is present and vice versa.

Bug 6485897.

Change-Id: Ie160b3ee5f451132065530772b868593c90afd94
2012-05-30 14:44:43 -07:00