43964 Commits

Author SHA1 Message Date
Jeff Sharkey
11591b738d am b3da3db3: Merge "Surface outgoing Uri permission grants." into klp-dev
* commit 'b3da3db34ae32cf9f57b00710488456e82e5de44':
  Surface outgoing Uri permission grants.
2013-10-09 15:10:21 -07:00
Jeff Sharkey
b3da3db34a Merge "Surface outgoing Uri permission grants." into klp-dev 2013-10-09 22:07:11 +00:00
John Spurlock
d3758420a2 am 65e91126: Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
* commit '65e911261d972758577f76cf41c6c0c532896fe1':
  Allow IMEs to extend below nav bar, remove SystemUI veto.
2013-10-09 15:06:29 -07:00
John Spurlock
65e911261d Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev 2013-10-09 21:57:01 +00:00
Jeff Sharkey
bcaac0adec Surface outgoing Uri permission grants.
This enables apps to discover and clean up persisted Uri grants when
the underlying Uri becomes invalid, such as when an account is
removed.

Bug: 11142566
Change-Id: Ieeb36cb1155acf226327ebe91cdd30b822d69d1b
2013-10-09 14:32:11 -07:00
Jeff Sharkey
d0da14a92f am aa841672: Merge "Support overriding calling package in Documents." into klp-dev
* commit 'aa8416723a19863071d500507943c06bf91483ea':
  Support overriding calling package in Documents.
2013-10-09 14:01:14 -07:00
Jeff Sharkey
4df901a40c am 7cd3e905: Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev
* commit '7cd3e905de4210c76efdc20a854ac8b959775b61':
  Drop <meta-data> support for DocumentsProviders.
2013-10-09 14:01:11 -07:00
Jeff Sharkey
aa8416723a Merge "Support overriding calling package in Documents." into klp-dev 2013-10-09 20:56:26 +00:00
Jeff Sharkey
7cd3e905de Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev 2013-10-09 20:56:12 +00:00
Jeff Sharkey
15be83612c Support overriding calling package in Documents.
Calling package is only used to pick the stack to restore, not for
security purposes.  This lets other system tools (like Printing)
indicate the real caller.

Bug: 11149540
Change-Id: I155e32577eaeda7dfcb80a7d84ac3b54f281590a
2013-10-09 13:52:26 -07:00
Jeff Sharkey
d2e1e810a7 Drop <meta-data> support for DocumentsProviders.
Prebuilts have finished migrating to new <intent-filter> based
approach.  Also update isDocumentUri() to match new definition.

Bug: 11109484
Change-Id: Ib95e2c3f5a9ff70b8d5e411f68ad49d1990dae8c
2013-10-09 13:31:13 -07:00
Alan Viverette
6d1e4522e3 am d9f53c02: Merge "Clear accessibility focus when view becomes invisible" into klp-dev
* commit 'd9f53c02766d9a9c00f303d8047cacef4e9673cf':
  Clear accessibility focus when view becomes invisible
2013-10-09 13:29:12 -07:00
Alan Viverette
d9f53c0276 Merge "Clear accessibility focus when view becomes invisible" into klp-dev 2013-10-09 20:25:15 +00:00
John Spurlock
c68d577f29 Allow IMEs to extend below nav bar, remove SystemUI veto.
Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
2013-10-09 16:23:15 -04:00
Eino-Ville Talvala
8233b6ebd7 am aa014300: Merge "Camera2: Properly copy over user tag when cloning requests" into klp-dev
* commit 'aa0143006f7e873995698dbec2045984b5228fb7':
  Camera2: Properly copy over user tag when cloning requests
2013-10-09 12:46:27 -07:00
Eino-Ville Talvala
aa0143006f Merge "Camera2: Properly copy over user tag when cloning requests" into klp-dev 2013-10-09 19:44:34 +00:00
John Spurlock
4f241a293b am 92128144: Merge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev
* commit '92128144d95e913a6702586cf4f0468bcb90c0c4':
  Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
2013-10-09 11:34:03 -07:00
John Spurlock
92128144d9 Merge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev 2013-10-09 18:27:53 +00:00
Svetoslav
53f16ba2b2 am 0cc8276d: Merge "Add missing locking when updating the accessibility node info cache." into klp-dev
* commit '0cc8276d3a277ab527c0ae9efd3528efc124f380':
  Add missing locking when updating the accessibility node info cache.
2013-10-09 10:57:14 -07:00
Svetoslav
0cc8276d3a Merge "Add missing locking when updating the accessibility node info cache." into klp-dev 2013-10-09 17:55:16 +00:00
Jeff Sharkey
d92dd8ffcf am fcd8a39e: Merge "Install providers enabled after app started." into klp-dev
* commit 'fcd8a39edbac3ab77894e8a4b05d2b0ff4841315':
  Install providers enabled after app started.
2013-10-09 10:50:10 -07:00
Jeff Sharkey
fcd8a39edb Merge "Install providers enabled after app started." into klp-dev 2013-10-09 17:45:11 +00:00
John Spurlock
a12dccc098 Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
The existing View.SYSTEM_UI_FLAG_IMMERSIVE flag will be somewhat
redefined.  Swiping will clear the flags, revealing the normal bars.

The new View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY flag will enable
hideybars - the auto-hiding, semi-transparent bar mode.

Bug:11062108
Change-Id: Ibf8be9072f0075953baa4580cd976e7562d44455
2013-10-09 12:35:52 -04:00
Eino-Ville Talvala
7b01c5c4d2 Camera2: Properly copy over user tag when cloning requests
Bug: 11141002
Change-Id: Icc5c4150a6796d705f5c6c3bd1322597fc986af2
2013-10-08 19:46:02 -07:00
Brian Carlstrom
19c8b395dc am 6c3baf12: Preload DexCaches
* commit '6c3baf12e0a6417177793a2e7e95d22721203813':
  Preload DexCaches
2013-10-08 18:39:42 -07:00
Svetoslav
3edcd8cfdf Add missing locking when updating the accessibility node info cache.
bug:10489954

Change-Id: Iccf55d074ea712566f441b9f6616a4c1fe847e0a
2013-10-08 18:31:58 -07:00
Brian Carlstrom
6c3baf12e0 Preload DexCaches
Bug: 11045348
Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed
2013-10-08 17:11:17 -07:00
Jeff Sharkey
dd97f4233f Install providers enabled after app started.
When an app has already been started, and a ContentProvider component
is enabled with DONT_KILL_APP, use the existing ProcessRecord to
install the provider.

Bug: 11118692
Change-Id: I990f18b337eb19768ee1db895f1e2eb982046cce
2013-10-08 17:02:26 -07:00
Alan Viverette
2e84a99467 Clear accessibility focus when view becomes invisible
BUG: 10912882
Change-Id: I8c7c6906fcf7688ecdfac6649464f088dd812c41
2013-10-08 14:25:42 -07:00
Jeff Sharkey
58ff8af53a am a6af40cd: Merge "Add secondary external storage support." into klp-dev
* commit 'a6af40cda29837fb68507f431ee5a179db93de28':
  Add secondary external storage support.
2013-10-08 14:09:49 -07:00
Jeff Sharkey
a6af40cda2 Merge "Add secondary external storage support." into klp-dev 2013-10-08 21:05:36 +00:00
Dianne Hackborn
c35ae6e784 am c739a765: Merge "Wrong argument: handleUnstableProviderDiedLocked" into klp-dev
* commit 'c739a765981174dc82bf268c379a5c7bc17167f4':
  Wrong argument: handleUnstableProviderDiedLocked
2013-10-08 13:33:59 -07:00
Dianne Hackborn
c739a76598 Merge "Wrong argument: handleUnstableProviderDiedLocked" into klp-dev 2013-10-08 20:29:47 +00:00
Alan Viverette
7659755280 am 3a407fad: Merge "Fix HIDE_DESCENDANTS accessibility importance mode" into klp-dev
* commit '3a407fad3554fe9567bb8769b060233b3efc0633':
  Fix HIDE_DESCENDANTS accessibility importance mode
2013-10-08 13:16:38 -07:00
Alan Viverette
3a407fad35 Merge "Fix HIDE_DESCENDANTS accessibility importance mode" into klp-dev 2013-10-08 20:14:21 +00:00
Daniel Sandler
f3a56199a5 am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit '40bacdf4843ac227b8a19cea47f4424138c8490f':
  Don't wake users up with low battery sounds.
2013-10-08 13:05:14 -07:00
Jeff Sharkey
44cbdec292 Add secondary external storage support.
When SECONDARY_STORAGE is defined by the hardware configuration,
include those paths in the new getExternalCacheDirs() and
getExternalFilesDirs() APIs.  Give secondary volumes valid state
until vold reports back.

Bug: 10330128, 10330229
Change-Id: Ifa55bfda47fd7c750f462dd26c98792ad462ab91
2013-10-08 12:57:11 -07:00
You Kim
bc74de6722 Wrong argument: handleUnstableProviderDiedLocked
mProvider is HashMap<ProviderKey, ProviderClientRecord>. String
is not correct object for KEY. Complete removal using iterator.

Bug: 11086495

Change-Id: I51e4576544ef02ede6f96938689dd4e43ec6eb4f
2013-10-08 12:22:30 -07:00
Daniel Sandler
dea6462aab Don't wake users up with low battery sounds.
Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

	V/PowerUI ( 3161): screen off too long (5779ms, limit
	5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681
2013-10-08 17:37:06 +00:00
Torne (Richard Coles)
0544b87249 am facf26c0: Merge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev
* commit 'facf26c0531c981fb61f07f23ffe9aa0221564ea':
  Hide Experimental WebView from dev settings DO NOT MERGE
2013-10-08 10:19:36 -07:00
Adam Powell
68f60fc159 am 2d3f3b1c: Merge "Fix typo in drawable xml" into klp-dev
* commit '2d3f3b1c8095f7f92d084a90ff4311ef48ff2aff':
  Fix typo in drawable xml
2013-10-08 10:19:34 -07:00
Torne (Richard Coles)
facf26c053 Merge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev 2013-10-08 17:17:07 +00:00
Adam Powell
2d3f3b1c80 Merge "Fix typo in drawable xml" into klp-dev 2013-10-08 17:15:39 +00:00
Adam Powell
0b6afb3356 Fix typo in drawable xml
Bug 11130411

Change-Id: I76e1f5f684b17a4fa9e3e7064f7ab66029171c70
2013-10-08 10:10:40 -07:00
Jonathan Dixon
be706eb1c1 Hide Experimental WebView from dev settings DO NOT MERGE
Bug 10427705

The persist.webview system property is no longer needed, so removed too.

Change-Id: I8f02736469464b52636f3d59ec8537d11766d39f
2013-10-08 17:59:13 +01:00
Svetoslav Ganov
b02b14b21e am ef4a6f86: Merge "Do not do a layout and write while a cancellation is in progress." into klp-dev
* commit 'ef4a6f866241852f60a25b7c0bca41750dee816e':
  Do not do a layout and write while a cancellation is in progress.
2013-10-08 09:35:48 -07:00
Svetoslav Ganov
ef4a6f8662 Merge "Do not do a layout and write while a cancellation is in progress." into klp-dev 2013-10-08 16:34:27 +00:00
Leon Scroggins III
97b707d5eb am 80a058b3: Merge "Do not attempt to decode NULL SkData." into klp-dev
* commit '80a058b3033200835f86ee0e61367a87a470cde8':
  Do not attempt to decode  NULL SkData.
2013-10-08 06:35:04 -07:00
Leon Scroggins III
80a058b303 Merge "Do not attempt to decode NULL SkData." into klp-dev 2013-10-08 13:33:05 +00:00
Alan Viverette
24cafbc56c Fix HIDE_DESCENDANTS accessibility importance mode
Ensures accessibility framework is notified when subtree visibility
changes as a result of hiding descendants. Fixes collision between
HAS_TRANSIENT_STATE flag and IMPORTANT_FOR_ACCESSIBILITY mask.

BUG: 11087525
Change-Id: I92dba27350970a09e76b5a878c7604ea06cae197
2013-10-07 18:28:45 -07:00