76093 Commits

Author SHA1 Message Date
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
22da643f13 am 2d589ffa: Merge "SpannableStringBuilder correctly manages MARK and POINTS" into jb-dev
* commit '2d589ffa1e8a2721f0d19f38a01337186561e559':
  SpannableStringBuilder correctly manages MARK and POINTS
2012-04-30 15:46:54 -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
462bcde430 am 459e459e: Merge "TextureView: don\'t call onSTAvailable due to setST" into jb-dev
* commit '459e459ef99f494238128aa4142fe2e97adae35b':
  TextureView: don't call onSTAvailable due to setST
2012-04-30 15:32:12 -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
0fb6e7c329 am 6113ce3b: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '6113ce3be4ba7208bac7d9f0cad7e83104dbc8d3':
  Import translations. DO NOT MERGE
2012-04-30 14:51:18 -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
48ba4f24cd am a2c37665: Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev
* commit 'a2c37665d9947d00c64427b35489d3794c7b6214':
  Pushing widget resize callback responsibility to AppWidgetHost
2012-04-30 14:45:32 -07:00
Eric Fischer
f921b5ad38 am e572fb10: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'e572fb10d0a760d37a64932c9da1e9a26b688e0f':
  Import translations. DO NOT MERGE
2012-04-30 14:42:50 -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
644ad8e779 am 1e945c4f: Merge "Add system insets to windows." into jb-dev
* commit '1e945c4fda0242e8ae02ccb7a2262556f41b42cc':
  Add system insets to windows.
2012-04-30 14:06:59 -07:00
Dianne Hackborn
1e945c4fda Merge "Add system insets to windows." into jb-dev 2012-04-30 14:04:36 -07:00
Robert Greenwalt
986aec92b6 am 5f610b73: Merge "Fix data roaming notification." into jb-dev
* commit '5f610b735994a5212cbc54b8e3ad250d30403ed1':
  Fix data roaming notification.
2012-04-30 13:58:03 -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
89dbba3514 am 9e2b578f: Merge "never attach null functor" into jb-dev
* commit '9e2b578fffee37e717b936d43b52d30b18bf64ce':
  never attach null functor
2012-04-30 13:39:01 -07:00
John Reck
9e2b578fff Merge "never attach null functor" into jb-dev 2012-04-30 13:37:05 -07:00
Svetoslav Ganov
09353bb04e am 8e01ee57: Merge "Removing action arguments checks." into jb-dev
* commit '8e01ee57c331913d51ef9336e304dca73edb9571':
  Removing action arguments checks.
2012-04-30 13:32:07 -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
Dave Burke
29536d0341 am f1790eb5: Merge "Added support for HE-AAC recording." into jb-dev
* commit 'f1790eb595d009118f477967b93b5814b7863a34':
  Added support for HE-AAC recording.
2012-04-30 12:48:38 -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
d84003333c am 2f87014e: Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev
* commit '2f87014ea2f177e715032b07004d05e2549a63a8':
  Enabling accessibility focus only if explore by touch is on.
2012-04-30 12:43:49 -07:00
Svetoslav Ganov
059d57aa94 am 0e8fd5ed: Merge "Populating accessibility node info with supported actions." into jb-dev
* commit '0e8fd5eddb8fe09e47732d1659c682b7eeee646b':
  Populating accessibility node info with supported actions.
2012-04-30 12:43:47 -07:00
Svetoslav Ganov
e6a51f0643 am 9cb3e96a: Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev
* commit '9cb3e96af91155db6c2cb42e206ddbc3e11c057d':
  CheckedTextView should be reported to accessibility as checkable.
2012-04-30 12:43:45 -07:00
Svetoslav Ganov
389595bd47 am 10890607: Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev
* commit '10890607f88eb639394cb16ac3006202bf1995ce':
  Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent
2012-04-30 12:43:43 -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
298c13e17c am 18dcf2f1: Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev
* commit '18dcf2f1cd3f84cbdffd8394e16475a13d6243df':
  Fixing crash when drawing accessibility focus indicator.
2012-04-30 12:40:42 -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