75792 Commits

Author SHA1 Message Date
Andreas Huber
faac92942c Merge "New API to set the video rendering mode on a MediaCodec instance." into jb-dev 2012-04-30 16:38:54 -07:00
Dianne Hackborn
d44713a63d Fix issue #6234928: android.app.IntentReceiverLeaked:
Activity com.android.internal.app.ChooserActivity has leaked IntentReceiver

Change-Id: I02488931d8c02ecbe0c6fc2f7ce708a9dc406f67
2012-04-30 16:34:46 -07:00
Amith Yamasani
f9638a4aee Fixes PreferenceScreen padding and scrollbar position.
Bug: 6399996
Changed the scrollbarStyle for tablets

Bug: 6405440
Inflate the listview from a layout with padding.

Change-Id: I838bb073ee2f0e23ac7163cc632679278dbccf05
2012-04-30 16:32:39 -07:00
Jeff Brown
32c8113510 Fix Javadoc.
Bug: 6418632
Change-Id: Ib17218c413cbdf26bab19ccd873de33e67dd3397
2012-04-30 16:28:32 -07:00
Jeff Sharkey
a549218e43 Merge "Avoid showing popup when View detatched." into jb-dev 2012-04-30 16:06:27 -07:00
Jeff Sharkey
59839e0f7c Merge "Change permission enforcement through pm command." into jb-dev 2012-04-30 16:06:21 -07:00
Adam Powell
9b2a0f167e Merge "Fix a bug with updating extras in a PendingIntent with an intent stack" into jb-dev 2012-04-30 16:04:11 -07:00
Jeff Sharkey
f166f480f0 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
2012-04-30 15:59:21 -07:00
Michael Jurka
029abfdc66 Merge "Fix NPE" into jb-dev 2012-04-30 15:58:51 -07:00
Dianne Hackborn
2218f6c234 Merge "Fix issue #6111771: Run-time Restart observed when signing in with an existing account" into jb-dev 2012-04-30 15:58:22 -07:00
Dianne Hackborn
53fadc5965 Merge "Fix scaling of layout bounds." into jb-dev 2012-04-30 15:57:30 -07:00
Michael Jurka
a8eac1deb5 Fix NPE 2012-04-30 15:54:28 -07:00
Irfan Sheriff
8e8798d90a Merge "Fix connect & save of invalid networks" into jb-dev 2012-04-30 15:51:40 -07:00
Jeff Brown
c458ce98ce 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
2012-04-30 15:48:42 -07:00
Gilles Debunne
2d589ffa1e Merge "SpannableStringBuilder correctly manages MARK and POINTS" into jb-dev 2012-04-30 15:44:02 -07:00
Jamie Gennis
b40696cc21 Surface: add JNI plumbing for setActiveRect.
Bug: 6299171
Change-Id: If26e63ebe7def645626af251bed899ff9389f8e5
2012-04-30 15:35:37 -07:00
Jamie Gennis
459e459ef9 Merge "TextureView: don't call onSTAvailable due to setST" into jb-dev 2012-04-30 15:29:33 -07:00
Jeff Sharkey
af232ed38a Avoid showing popup when View detatched.
Bug: 6388558
Change-Id: I12cfde91b142916ce137ebd4e96107a12ad2b4b7
2012-04-30 15:19:55 -07:00
Dianne Hackborn
56385cc452 Fix issue #6111771: Run-time Restart observed when signing in with an existing account
Change-Id: Ic6defb598cb08f2728d99eed7d0b209c88dd1a49
2012-04-30 15:07:47 -07:00
Adam Powell
501d4a510f Fix a bug with updating extras in a PendingIntent with an intent stack
Change-Id: I52e2677635b588b7301dd938e1dd32f94241cf5a
2012-04-30 15:03:57 -07:00
Dianne Hackborn
7634424171 Fix scaling of layout bounds.
Change-Id: I9d8c8924900fed69030ee3e8d6decee89ca67820
2012-04-30 14:51:48 -07:00
Eric Fischer
6113ce3be4 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:48:35 -07:00
Andreas Huber
b12a539069 New API to set the video rendering mode on a MediaCodec instance.
Change-Id: I6d765bb4cab7bcf29f09364293c24e8a6930078b
related-to-bug: 6364139
2012-04-30 14:46:22 -07:00
Adam Cohen
a2c37665d9 Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev 2012-04-30 14:42:23 -07:00
Eric Fischer
e572fb10d0 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:40:42 -07:00
Dianne Hackborn
1e945c4fda Merge "Add system insets to windows." into jb-dev 2012-04-30 14:04:36 -07:00
Robert Greenwalt
5f610b7359 Merge "Fix data roaming notification." into jb-dev 2012-04-30 13:55:43 -07:00
Jamie Gennis
8a34d6800e 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
2012-04-30 13:54:38 -07:00
Jeff Sharkey
719a6320a7 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
2012-04-30 13:46:54 -07:00
John Reck
9e2b578fff Merge "never attach null functor" into jb-dev 2012-04-30 13:37:05 -07:00
Svetoslav Ganov
8e01ee57c3 Merge "Removing action arguments checks." into jb-dev 2012-04-30 13:30:13 -07:00
Adam Cohen
c88d11f949 Pushing widget resize callback responsibility to AppWidgetHost
Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
2012-04-30 13:25:59 -07:00
Chris Craik
1266692b30 never attach null functor
bug:6412902

Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
2012-04-30 13:15:55 -07:00
Eric Fischer
7e69d2a989 Import translations. DO NOT MERGE
Change-Id: I6296e47e9d38e51ec634f8595ff2bfc782f40c8a
2012-04-30 12:48:16 -07:00
Dave Burke
f1790eb595 Merge "Added support for HE-AAC recording." into jb-dev 2012-04-30 12:45:49 -07:00
Svetoslav Ganov
2f87014ea2 Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev 2012-04-30 12:41:15 -07:00
Svetoslav Ganov
0e8fd5eddb Merge "Populating accessibility node info with supported actions." into jb-dev 2012-04-30 12:40:49 -07:00
Svetoslav Ganov
9cb3e96af9 Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev 2012-04-30 12:40:04 -07:00
Svetoslav Ganov
10890607f8 Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev 2012-04-30 12:39:25 -07:00
Svetoslav Ganov
18dcf2f1cd Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev 2012-04-30 12:38:06 -07:00
Eric Fischer
14ff8c0084 Import translations. DO NOT MERGE
Change-Id: Icc783beaa23278f07fc5fed64b7631c1d088208c
2012-04-30 12:31:45 -07:00
Svetoslav Ganov
07b726c86b 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
2012-04-30 12:25:31 -07:00
Dianne Hackborn
5c58de3a52 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
2012-04-30 12:11:43 -07:00
Irfan Sheriff
b3e96c527b Fix connect & save of invalid networks
Ensure SSID is not null for a new network being added

Bug: 6411912
Change-Id: I26467810bf10b7325c04677c1d0e5ff1cfb4a09e
2012-04-30 12:05:45 -07:00
James Dong
248ba23ad2 Fix a race condition in Camera API for handling focus
In the case where a previous AF completion was outstanding but before the completion
notification reached the application, the application cancelled this AF request, and
then started a new AF request. Right after the new AF request, the AF completion
notification for earlier AF request reached the application. The application
could not tell the AF completion notification was meant for the cancelled AF, but
thought the new AF was successfully completed. Subsequently, the application trid to
take a picture, which failed as a result.

The fix is to add an explicit lock in the Camera.java class to fix the race condition to
synchornize autoFocus(), cancelAutoFocus() and the callback of the pending AF
completion message.

o related-to-bug: 6026480

Change-Id: I33d244d908ac066698e792f641ba88fe228b14a9
2012-04-30 12:01:06 -07:00
Svetoslav Ganov
c85015cd04 CheckedTextView should be reported to accessibility as checkable.
bug:6219528

Change-Id: I7b57f69c29f20c8a9466c56226407b51b9bf3b3a
2012-04-30 11:37:50 -07:00
John Reck
3ea8761974 Merge "Fix crash in setNewPicture" into jb-dev 2012-04-30 11:31:27 -07:00
Svetoslav Ganov
afe8cf2623 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
2012-04-30 11:29:58 -07:00
Chris Craik
02d7e489b2 Merge "check for null ViewRootImpl" into jb-dev 2012-04-30 11:27:35 -07:00
Daniel Sandler
c40db82a12 Fix build
Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
2012-04-30 14:24:01 -04:00