OSDN Git Service
satok [Wed, 25 Apr 2012 13:47:12 +0000 (22:47 +0900)]
DO NOT MERGE : Backport I5723f627ce323b0d12b Reduce window resizing during IME transition
Bug:
5137498
Change-Id: Ieb8fd700d193eddaa31b0c5ebd8c7f7885586372
satok [Tue, 1 May 2012 05:02:07 +0000 (22:02 -0700)]
Merge "Show ongoing ime switch icon on sw600" into jb-dev
satok [Tue, 1 May 2012 03:05:12 +0000 (12:05 +0900)]
Show ongoing ime switch icon on sw600
Bug:
6422307
Change-Id: If10758e0d4ca59da4f3ab07d52dda6673af9c0a8
Dianne Hackborn [Tue, 1 May 2012 01:29:20 +0000 (18:29 -0700)]
Merge "Fix issue #
6234928: android.app.IntentReceiverLeaked:" into jb-dev
Adam Powell [Tue, 1 May 2012 01:23:49 +0000 (18:23 -0700)]
Merge "Fix a bug in ListView where touch scrolling could skip a data set change" into jb-dev
Ruei-sung Lin [Tue, 1 May 2012 00:55:09 +0000 (17:55 -0700)]
Merge "Fix b/
5821633: Could not activate GLEnvironment" into jb-dev
Svetoslav Ganov [Tue, 1 May 2012 00:39:47 +0000 (17:39 -0700)]
Merge "AccessibilityNodeInfo.getActionSymbolicName() is missing A11y focus actions." into jb-dev
Svetoslav Ganov [Tue, 1 May 2012 00:39:24 +0000 (17:39 -0700)]
Merge "Accessibility should not change input focus behavior." into jb-dev
Jeff Brown [Tue, 1 May 2012 00:28:49 +0000 (17:28 -0700)]
Merge "Fix Javadoc." into jb-dev
Jeff Sharkey [Tue, 1 May 2012 00:22:05 +0000 (17:22 -0700)]
Merge "Clear ident in dismissKeyguardOnNextActivity()." into jb-dev
Jeff Sharkey [Tue, 1 May 2012 00:19:35 +0000 (17:19 -0700)]
Merge "Add permission for NetworkOverLimitActivity." into jb-dev
Ruei-sung Lin [Tue, 1 May 2012 00:16:44 +0000 (17:16 -0700)]
Fix b/
5821633: Could not activate GLEnvironment
Change-Id: I35a05eb24299b85a869b973599a091381369aac2
Jeff Brown [Tue, 1 May 2012 00:15:57 +0000 (17:15 -0700)]
Merge "Add support for using the lid switch to turn off the screen." into jb-dev
Jeff Sharkey [Tue, 1 May 2012 00:14:51 +0000 (17:14 -0700)]
Add permission for NetworkOverLimitActivity.
Bug:
6421080
Change-Id: Icefdf3da7a4a421d27aa1449ac01ea8ae1451d49
Jamie Gennis [Tue, 1 May 2012 00:13:45 +0000 (17:13 -0700)]
Merge "Surface: add JNI plumbing for setActiveRect." into jb-dev
Jeff Sharkey [Tue, 1 May 2012 00:06:09 +0000 (17:06 -0700)]
Merge "Roaming always metered, relax DHCP metered check." into jb-dev
Adam Powell [Mon, 30 Apr 2012 23:59:02 +0000 (16:59 -0700)]
Fix a bug in ListView where touch scrolling could skip a data set change
Bug
2597058
ListView's touch scrolling can query the adapter for new views. As we now
flush pending touch events before running layout/draw traversals (when we
normally bring ListView back in sync), this can now happen more often.
Resync data before executing a scroll if a data set change is pending.
Change-Id: I3e4eba4c2537911ba9cb3393ee4d9e68e46f84bb
Jeff Sharkey [Mon, 30 Apr 2012 23:59:05 +0000 (16:59 -0700)]
Clear ident in dismissKeyguardOnNextActivity().
BaseStatusBar uses this to launch activities over the insecure
lockscreen, so clear identity.
Bug:
6414983
Change-Id: Idf578923285ee1344e6e13e7f51e17a5f2005c75
Svetoslav Ganov [Mon, 30 Apr 2012 23:55:21 +0000 (16:55 -0700)]
AccessibilityNodeInfo.getActionSymbolicName() is missing A11y focus actions.
1. The new actions were not added to this helper method so it was
throwing an InvalidArgumentException.
bug:
6421059
Change-Id: I132348a50bb900ee19b95cc92c26ce47609ccb1c
Svetoslav Ganov [Mon, 30 Apr 2012 23:49:59 +0000 (16:49 -0700)]
Accessibility should not change input focus behavior.
1. Removed a change in the input focus behavior I forgot
to take out when submitted the main accessibility focus
patch. Ugh..
bug:
6320098
Change-Id: Id7942e8aac64ba4bf6df7e19f733fa70b368d1bb
Andreas Huber [Mon, 30 Apr 2012 23:38:54 +0000 (16:38 -0700)]
Merge "New API to set the video rendering mode on a MediaCodec instance." into jb-dev
Dianne Hackborn [Mon, 30 Apr 2012 23:34:46 +0000 (16:34 -0700)]
Fix issue #
6234928: android.app.IntentReceiverLeaked:
Activity com.android.internal.app.ChooserActivity has leaked IntentReceiver
Change-Id: I02488931d8c02ecbe0c6fc2f7ce708a9dc406f67
Jeff Brown [Mon, 30 Apr 2012 23:28:32 +0000 (16:28 -0700)]
Fix Javadoc.
Bug:
6418632
Change-Id: Ib17218c413cbdf26bab19ccd873de33e67dd3397
Jeff Sharkey [Mon, 30 Apr 2012 23:06:27 +0000 (16:06 -0700)]
Merge "Avoid showing popup when View detatched." into jb-dev
Jeff Sharkey [Mon, 30 Apr 2012 23:06:21 +0000 (16:06 -0700)]
Merge "Change permission enforcement through pm command." into jb-dev
Adam Powell [Mon, 30 Apr 2012 23:04:11 +0000 (16:04 -0700)]
Merge "Fix a bug with updating extras in a PendingIntent with an intent stack" into jb-dev
Jeff Sharkey [Mon, 30 Apr 2012 22:59:21 +0000 (15:59 -0700)]
Roaming always metered, relax DHCP metered check.
Always treat roaming connections as metered, and relax DHCP test to
match any substring for forward compatibility.
Bug:
6382737,
6375399
Change-Id: I9781a60f55fbe35da6f8bfc7a1d609608e8f0951
Michael Jurka [Mon, 30 Apr 2012 22:58:51 +0000 (15:58 -0700)]
Merge "Fix NPE" into jb-dev
Dianne Hackborn [Mon, 30 Apr 2012 22:58:22 +0000 (15:58 -0700)]
Merge "Fix issue #
6111771: Run-time Restart observed when signing in with an existing account" into jb-dev
Dianne Hackborn [Mon, 30 Apr 2012 22:57:30 +0000 (15:57 -0700)]
Merge "Fix scaling of layout bounds." into jb-dev
Michael Jurka [Mon, 30 Apr 2012 22:54:19 +0000 (15:54 -0700)]
Fix NPE
Irfan Sheriff [Mon, 30 Apr 2012 22:51:40 +0000 (15:51 -0700)]
Merge "Fix connect & save of invalid networks" into jb-dev
Jeff Brown [Mon, 30 Apr 2012 21:58:40 +0000 (14:58 -0700)]
Add support for using the lid switch to turn off the screen.
Added a config option to allow the lid switch to turn off the
screen. This is a closer match to what a lid switch should be
doing.
Removed an old feature to bypass keyguard when keyboard is visible
because the way it was plumbed in made bad assumptions about
the meaning of the lid switch. Also, the last product we shipped
that had a physical keyboard turned this config option off.
So away it goes. We can bring it back someday if we really want it.
It's questionable how useful the feature is anyhow, since it only
works when the keyguard is unsecure and when the lid switch is
unlikely to be jostled in the user's pocket.
Fixed a bug where we would tell the power manager that the keyboard
was visible even if the lid switch did not control the keyboard.
This used to cause the power manager to try to set the keyboard
brightness, which doesn't work.
Bug:
6377115
Bug:
6406726
Change-Id: Ic84b71d09563d51c92cd1cf132fa8bdee6509103
Gilles Debunne [Mon, 30 Apr 2012 22:44:02 +0000 (15:44 -0700)]
Merge "SpannableStringBuilder correctly manages MARK and POINTS" into jb-dev
Jamie Gennis [Mon, 30 Apr 2012 22:35:37 +0000 (15:35 -0700)]
Surface: add JNI plumbing for setActiveRect.
Bug:
6299171
Change-Id: If26e63ebe7def645626af251bed899ff9389f8e5
Jamie Gennis [Mon, 30 Apr 2012 22:29:33 +0000 (15:29 -0700)]
Merge "TextureView: don't call onSTAvailable due to setST" into jb-dev
Jeff Sharkey [Mon, 30 Apr 2012 22:19:39 +0000 (15:19 -0700)]
Avoid showing popup when View detatched.
Bug:
6388558
Change-Id: I12cfde91b142916ce137ebd4e96107a12ad2b4b7
Dianne Hackborn [Mon, 30 Apr 2012 22:07:47 +0000 (15:07 -0700)]
Fix issue #
6111771: Run-time Restart observed when signing in with an existing account
Change-Id: Ic6defb598cb08f2728d99eed7d0b209c88dd1a49
Adam Powell [Mon, 30 Apr 2012 22:03:57 +0000 (15:03 -0700)]
Fix a bug with updating extras in a PendingIntent with an intent stack
Change-Id: I52e2677635b588b7301dd938e1dd32f94241cf5a
Dianne Hackborn [Mon, 30 Apr 2012 21:05:09 +0000 (14:05 -0700)]
Fix scaling of layout bounds.
Change-Id: I9d8c8924900fed69030ee3e8d6decee89ca67820
Eric Fischer [Mon, 30 Apr 2012 21:48:35 +0000 (14:48 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Andreas Huber [Mon, 30 Apr 2012 21:18:33 +0000 (14:18 -0700)]
New API to set the video rendering mode on a MediaCodec instance.
Change-Id: I6d765bb4cab7bcf29f09364293c24e8a6930078b
related-to-bug:
6364139
Adam Cohen [Mon, 30 Apr 2012 21:42:23 +0000 (14:42 -0700)]
Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev
Eric Fischer [Mon, 30 Apr 2012 21:40:42 +0000 (14:40 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Dianne Hackborn [Mon, 30 Apr 2012 21:04:36 +0000 (14:04 -0700)]
Merge "Add system insets to windows." into jb-dev
Robert Greenwalt [Mon, 30 Apr 2012 20:55:43 +0000 (13:55 -0700)]
Merge "Fix data roaming notification." into jb-dev
Jamie Gennis [Tue, 17 Apr 2012 23:01:34 +0000 (16:01 -0700)]
TextureView: don't call onSTAvailable due to setST
This change makes TextureView skip calling the onSurfaceTextureAvailable
callback when setSurfaceTexture is used to change the TextureView's
SurfaceTexture.
Change-Id: Ie08f72f157c3bfce3215076b21994026ef66d88d
Jeff Sharkey [Mon, 30 Apr 2012 20:46:54 +0000 (13:46 -0700)]
Change permission enforcement through pm command.
Add "set-permission-enforced", which can currently only mutate
enforcement of READ_EXTERNAL_STORAGE.
Bug:
6363043
Change-Id: I3f7929738c8c36b0a54fbf171c03fe16c09b5d99
John Reck [Mon, 30 Apr 2012 20:37:05 +0000 (13:37 -0700)]
Merge "never attach null functor" into jb-dev
Svetoslav Ganov [Mon, 30 Apr 2012 20:30:13 +0000 (13:30 -0700)]
Merge "Removing action arguments checks." into jb-dev
Adam Cohen [Sat, 28 Apr 2012 01:33:18 +0000 (18:33 -0700)]
Pushing widget resize callback responsibility to AppWidgetHost
Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
Chris Craik [Mon, 30 Apr 2012 20:13:41 +0000 (13:13 -0700)]
never attach null functor
bug:
6412902
Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
Eric Fischer [Mon, 30 Apr 2012 19:48:16 +0000 (12:48 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6296e47e9d38e51ec634f8595ff2bfc782f40c8a
Dave Burke [Mon, 30 Apr 2012 19:45:49 +0000 (12:45 -0700)]
Merge "Added support for HE-AAC recording." into jb-dev
Svetoslav Ganov [Mon, 30 Apr 2012 19:41:15 +0000 (12:41 -0700)]
Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev
Svetoslav Ganov [Mon, 30 Apr 2012 19:40:49 +0000 (12:40 -0700)]
Merge "Populating accessibility node info with supported actions." into jb-dev
Svetoslav Ganov [Mon, 30 Apr 2012 19:40:04 +0000 (12:40 -0700)]
Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev
Svetoslav Ganov [Mon, 30 Apr 2012 19:39:25 +0000 (12:39 -0700)]
Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev
Svetoslav Ganov [Mon, 30 Apr 2012 19:38:06 +0000 (12:38 -0700)]
Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev
Eric Fischer [Mon, 30 Apr 2012 19:31:45 +0000 (12:31 -0700)]
Import translations. DO NOT MERGE
Change-Id: Icc783beaa23278f07fc5fed64b7631c1d088208c
Svetoslav Ganov [Mon, 30 Apr 2012 19:24:57 +0000 (12:24 -0700)]
Enabling accessibility focus only if explore by touch is on.
1. Now we will enable the accessibility focus only if Explore by
Touch is enabled. Enabling this feature allows a blind user to
touch the screen and set the accessibility focus at this
location as well as get spoken feedback. Also an accessibility
service can move the accessibility as a result of user gestures
detected only if Explore by Touch is enabled. Since we will
handle some gestures by default if not accessibility service
does so to provide reasonable built-in navigation of the UI
by "objects" we need the accessibility focus functionality.
bug:
6383361
Change-Id: I13ce6072a90f5838c7656379788144c99a772bf0
Dianne Hackborn [Sun, 29 Apr 2012 02:52:37 +0000 (19:52 -0700)]
Add system insets to windows.
This will be used to determine which parts of a window a completely
hidden by system UI elements (status bar, nav bar, system bar) so
that they can be clipped out from rendering.
Change-Id: I2c6c6ac67dbdfeed82d2c089ef806fb483165bd9
Irfan Sheriff [Sat, 28 Apr 2012 03:37:36 +0000 (20:37 -0700)]
Fix connect & save of invalid networks
Ensure SSID is not null for a new network being added
Bug:
6411912
Change-Id: I26467810bf10b7325c04677c1d0e5ff1cfb4a09e
Svetoslav Ganov [Mon, 30 Apr 2012 18:37:43 +0000 (11:37 -0700)]
CheckedTextView should be reported to accessibility as checkable.
bug:
6219528
Change-Id: I7b57f69c29f20c8a9466c56226407b51b9bf3b3a
John Reck [Mon, 30 Apr 2012 18:31:27 +0000 (11:31 -0700)]
Merge "Fix crash in setNewPicture" into jb-dev
Svetoslav Ganov [Sat, 28 Apr 2012 20:26:57 +0000 (13:26 -0700)]
Removing action arguments checks.
1. The checks for action arguments are not needed since they
may cause trouble for developers if we add more args to
an action.
bug:
6414006
Change-Id: Ia4212b52be183b1ef1cfd2561ce618cef2b015e4
Chris Craik [Mon, 30 Apr 2012 18:27:35 +0000 (11:27 -0700)]
Merge "check for null ViewRootImpl" into jb-dev
Daniel Sandler [Mon, 30 Apr 2012 18:24:01 +0000 (14:24 -0400)]
Fix build
Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
Chris Craik [Mon, 30 Apr 2012 17:15:33 +0000 (10:15 -0700)]
check for null ViewRootImpl
bug:
6412902
Change-Id: I36b5ee48fb94ed0f8222f9ec41ee9fc3730ceed0
Robert Greenwalt [Mon, 30 Apr 2012 17:59:56 +0000 (10:59 -0700)]
Fix data roaming notification.
We shouldn't tell people we're not connected due to roaming if it's really because
of data-disabled.
Use the data-disabled setting to decide if we should inform people about
data-discon due to roaming. Note this doesn't effect other notifications about roaming.
Also fix the data-enable/disable code to take roaming into account and clear/set the
roaming notification as needed (if data is enabled while we can't get on due to roaming
we should put up the roaming notifcation.. if data is disabled while that notification is
up we should take it down).
bug:
5805666
Change-Id: I5c925dfdca4abc27e0034b113508df5719f04fae
Daniel Sandler [Mon, 30 Apr 2012 17:54:46 +0000 (10:54 -0700)]
Merge changes Ie09b6222,I90a0ac21 into jb-dev
* changes:
Fix a longstanding bug in the shade pulldown trajectory.
All Status in a Window.
John Reck [Mon, 30 Apr 2012 17:50:04 +0000 (10:50 -0700)]
Fix crash in setNewPicture
Bug:
6412902
Change-Id: I65d8f65839c6e84440cb9d0393c35a8c488c9781
Michael Jurka [Mon, 30 Apr 2012 17:28:21 +0000 (10:28 -0700)]
Merge "Don't show a blue glow when swiping recents" into jb-dev
Dave Burke [Sun, 29 Apr 2012 05:02:13 +0000 (22:02 -0700)]
Added support for HE-AAC recording.
Not unhiding HE-AACv2 since that requires stereo mics.
Bug:
6275957
Change-Id: I953a6d21e615c8fd23f9390e3c86d63089f5fb75
Daniel Sandler [Mon, 30 Apr 2012 16:07:30 +0000 (12:07 -0400)]
Fix a longstanding bug in the shade pulldown trajectory.
Two parts to this:
1. We were looking at the measured height of the close view
for a lot of our computations, which---particularly with
recent changes that dispense with the old 3-window
implementation---is increasingly unreliable
2. We were overestimating the minY that the panel must be
pulled down before animation starts. It was enforced
jankiness!
Bug:
5359178
Change-Id: Ie09b62226b7b0977527348b5527478665ece1df8
Daniel Sandler [Tue, 24 Apr 2012 05:20:13 +0000 (01:20 -0400)]
All Status in a Window.
Bug:
5907042 (jank on pulldown)
Bug:
6347684 (hardware acceleration)
Change-Id: I90a0ac21db493cccf6913cbc271a21a130276991
Svetoslav Ganov [Sat, 28 Apr 2012 22:31:09 +0000 (15:31 -0700)]
Populating accessibility node info with supported actions.
1. The system does not allow performing an accessibility action
on an accessibility node info unless it explicitly states it
supports that action. Adding the new accessibility actions
to the info emitted by a view.
bug:
6407647
Change-Id: I8dad1dc60ec68b4da5ed2349a1366a88820175a1
Svetoslav Ganov [Sat, 28 Apr 2012 22:23:47 +0000 (15:23 -0700)]
Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent
1. There was a double call to recycle of a pooled instance
which was causing an exception. Removed an unnecessary call.
bug:
6408689
Change-Id: Ic74b743c6be28ca95ab84b15f28edb5bc95f0a88
Svetoslav Ganov [Sat, 28 Apr 2012 22:14:22 +0000 (15:14 -0700)]
Fixing crash when drawing accessibility focus indicator.
1. Added a lacking null check for the accessibility node
info returned by an accessibility node provider. If
the provider implementation is not correct this may
happen.
2. Added clearing of the current accessibility focused
node when the window focus changes. Now it is cleared
in every case and if it happens that accessibility is
enabled when the window gets focus, the accessibility
focus will be properly set.
bug:
6381296
Change-Id: Ieea1b07762745e6d932fc4ed4febfe77760b25b7
Mike Lockwood [Sat, 28 Apr 2012 19:00:02 +0000 (12:00 -0700)]
Merge "UsbService: Add support for accessory initiating USB audio support" into jb-dev
Irfan Sheriff [Sat, 28 Apr 2012 17:51:34 +0000 (10:51 -0700)]
Merge "Handle null SSID cleanly" into jb-dev
Irfan Sheriff [Sat, 28 Apr 2012 04:24:17 +0000 (21:24 -0700)]
Handle null SSID cleanly
Bug:
6411912
Change-Id: I12f9df403c9633d928d898ae675ce36303dda1a8
John Reck [Sat, 28 Apr 2012 01:05:39 +0000 (18:05 -0700)]
Merge "Revert "add null check on ViewRootImpl"" into jb-dev
John Reck [Sat, 28 Apr 2012 01:04:14 +0000 (18:04 -0700)]
Revert "add null check on ViewRootImpl"
This reverts commit
67a1c8e3d5a88f776f09b6e61410ebcd5615a46b
James Dong [Sat, 28 Apr 2012 00:49:28 +0000 (17:49 -0700)]
Merge "Unhide APIs for timed text and multiple audio track switch APIs" into jb-dev
John Reck [Sat, 28 Apr 2012 00:47:10 +0000 (17:47 -0700)]
Merge "add null check on ViewRootImpl" into jb-dev
Dianne Hackborn [Sat, 28 Apr 2012 00:42:48 +0000 (17:42 -0700)]
Merge "When a window is first shown only draw once while animating." into jb-dev
Michael Jurka [Sat, 28 Apr 2012 00:37:25 +0000 (17:37 -0700)]
Don't show a blue glow when swiping recents
Bug:
5908113
Jeff Brown [Sat, 28 Apr 2012 00:31:56 +0000 (17:31 -0700)]
Merge "Work around build break in layoutlib." into jb-dev
Jeff Brown [Sat, 28 Apr 2012 00:31:50 +0000 (17:31 -0700)]
Merge "Resample touch events on frame boundaries." into jb-dev
Jeff Brown [Sat, 28 Apr 2012 00:18:06 +0000 (17:18 -0700)]
Work around build break in layoutlib.
Bug:
6413563
Change-Id: Ia7101fba87f3784fd8159c75e4289f642913d099
Philip Milne [Fri, 27 Apr 2012 23:57:41 +0000 (16:57 -0700)]
Merge "Fixes for optical bounds feature." into jb-dev
Philip Milne [Wed, 25 Apr 2012 05:12:36 +0000 (22:12 -0700)]
Fixes for optical bounds feature.
1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance.
2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS.
3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS.
4. Complete GridLayout implementation.
5. Change the default_gap between components to 8dp, to align with the Style Guide.
Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
Jeff Brown [Fri, 27 Apr 2012 23:45:00 +0000 (16:45 -0700)]
Merge "Simplify the consume before traversal heuristic." into jb-dev
Jeff Brown [Fri, 27 Apr 2012 23:44:23 +0000 (16:44 -0700)]
Merge "Fix CancellationSignal deadlock." into jb-dev
Jeff Sharkey [Fri, 27 Apr 2012 23:44:22 +0000 (16:44 -0700)]
Merge "Clear IMM references when window dismissed." into jb-dev
Jeff Brown [Fri, 27 Apr 2012 23:44:18 +0000 (16:44 -0700)]
Merge "Use choreographer frame time to schedule animations." into jb-dev
Fabrice Di Meglio [Fri, 27 Apr 2012 23:30:57 +0000 (16:30 -0700)]
Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev
Jeff Sharkey [Fri, 27 Apr 2012 23:28:32 +0000 (16:28 -0700)]
Merge "Migrate ringtone playback to SystemUI." into jb-dev
Adrian Ludwig [Fri, 27 Apr 2012 23:22:21 +0000 (16:22 -0700)]
Merge "Update the short strings associatd with permissions to improve readability." into jb-dev