113640 Commits

Author SHA1 Message Date
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
Amith Yamasani
b0975540a4 Merge "Avoid deadlock between mUsers and cacheLock" into klp-dev 2013-10-09 20:57:35 +00: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
Mindy DelliCarpini
e0221f02ac am d7c44ee6: Merge "deblue notification dividers" into klp-dev
* commit 'd7c44ee6b676d1c80fa6ad3763d718f8f2ff1554':
  deblue notification dividers
2013-10-09 13:16:09 -07:00
Mindy DelliCarpini
d7c44ee6b6 Merge "deblue notification dividers" into klp-dev 2013-10-09 20:14:15 +00:00
Robert Greenwalt
15af21252d Don't mark wifi disabled unless it's off.
The transition from driver-started to scan-only state was incorrectly
always marking wifi disabled, but transitioning back only marked it
enabled if we were exiting due to leaving the scan-only-with-wifi-off
mode.

bug:11062188
Change-Id: I44fe64fd8dac8f36f4e22cb1c16b9d7a06bdbac0
2013-10-09 12:48:07 -07: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
Dianne Hackborn
1ee0c1c3d0 am efeb6f3c: Merge "Fix issue #11087316: Can\'t run dumpsys procstats on user builds in some cases!" into klp-dev
* commit 'efeb6f3c1b6123188e78b1c8a15e0eb331ebc8ee':
  Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!
2013-10-09 12:18:14 -07:00
Dianne Hackborn
efeb6f3c1b Merge "Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!" into klp-dev 2013-10-09 19:15:35 +00:00
Dianne Hackborn
08b36a47cf Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!
Once we pass the dump perm check, we are safe.

Change-Id: I58f483573874ca9f8f914fb94137f8a2afafaf25
2013-10-09 12:14:11 -07:00
Michael Jurka
b668d0ba7e Add API to get the built-in wallpaper
Change-Id: I71cf4111fb4e36bd8e78eb47695861349dc1750b
2013-10-09 12:12:34 -07:00
Craig Mautner
af47d751b3 am e8a057a9: Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev
* commit 'e8a057a9aea661a9398ddaa3161e7ea6ab6675b8':
  Remove overly tight constraint on drawn Keyguard.
2013-10-09 12:12:14 -07:00
Craig Mautner
e8a057a9ae Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev 2013-10-09 19:10:45 +00:00
Jonathan Dixon
517771bc6c Do not require WebView usage to come from main thread
So long as all usage is from a single thread per instance it is OK if
it's a non-main thread.
(But note that for apps targeting JB MR2 this was enforced to be the
main thread anyway).

Bug 10937207

Change-Id: Ibc2496d5cef97b4685e001086f712fcaac231024
2013-10-09 12:03:07 -07: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
Adam Lesinski
92fba41f3c am 9d958f69: Merge "Allow killed task to remove itself" into klp-dev
* commit '9d958f69939e884450e5bd6588dedb16aefed6e4':
  Allow killed task to remove itself
2013-10-09 10:41:39 -07:00
Adam Lesinski
9d958f6993 Merge "Allow killed task to remove itself" into klp-dev 2013-10-09 17:36:57 +00:00
Joe Malin
2e1c7b7495 DOC CHANGE: Android Beam training class
Change-Id: I4960d2b0ef8fdd32cf985f2104b0819e1311337b
2013-10-09 09:39:30 -07: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
Jeff Sharkey
6359585916 am e6d419de: Merge "Grab Activity reference before leaving fragment." into klp-dev
* commit 'e6d419de77344300e342c8a0f6c013afeec87a72':
  Grab Activity reference before leaving fragment.
2013-10-09 00:28:03 -07:00
Jeff Sharkey
e6d419de77 Merge "Grab Activity reference before leaving fragment." into klp-dev 2013-10-09 07:26:11 +00:00
Craig Mautner
4e8a19c73a Remove overly tight constraint on drawn Keyguard.
The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.

Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.

Fixes bug 11062635.

Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350
2013-10-08 21:32:37 -07: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
Lorenzo Colitti
18225508dd am 2845e519: Merge "Fix captive portal detection on IPv6 networks." into klp-dev
* commit '2845e5196aacb2f3ee3131d8ae09038fa8336389':
  Fix captive portal detection on IPv6 networks.
2013-10-08 19:16:43 -07:00
Lorenzo Colitti
2845e5196a Merge "Fix captive portal detection on IPv6 networks." into klp-dev 2013-10-09 02:14:43 +00: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
Yuhao Zheng
a9e6be83ae WifiStateMachine: fix for exiting L2ConnectedState
After a L2ConnectedState to WpsRunningState transition, network is disconnected.
However, the disconnected message is ignored by WpsRunningState, leaving DHCP
still running. When entering L2ConnectedState again, WifiStateMachine gets stuck
on waiting for DhcpStateMachine, because DHCP is already running and the command
CMD_START_DHCP is ignored. Calling handleNetworkDisconnect() when exiting
L2ConnectedState fixes this problem, plus it handles disconnection correctly.

Bug: 10900241
Change-Id: Id29e4989b29db7e64719940cf93eba1f1a90912a
2013-10-08 18:16:03 -07:00
Alan Viverette
b8a0057d82 Fix layout and invalidate in SubtitleView
BUG: 11138745
Change-Id: If216dc1c68b6aaef3ad41ae30f488b140d4676d6
2013-10-08 17:24:58 -07:00
Jeff Sharkey
78b1370308 Grab Activity reference before leaving fragment.
When creating a new directory, we spawn an AsyncTask and finish the
fragment.  This change keeps an Activity reference to report the
result back to.

Bug: 11137561
Change-Id: Icfccc5e50e8f53a50dced589e1564d64457e0ed0
2013-10-08 17:11:49 -07:00
Brian Carlstrom
6c3baf12e0 Preload DexCaches
Bug: 11045348
Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed
2013-10-08 17:11:17 -07:00
Jake Hamby
beb46cc134 am b3a69c5d: Merge "Fix NPE in CallerInfo.getCurrentCountryIso()." into klp-dev
* commit 'b3a69c5dc3ee39cfb2a06660f0953c4c7b55d21a':
  Fix NPE in CallerInfo.getCurrentCountryIso().
2013-10-08 17:06:24 -07:00
Jake Hamby
b3a69c5dc3 Merge "Fix NPE in CallerInfo.getCurrentCountryIso()." into klp-dev 2013-10-09 00:03:34 +00: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
Jean-Michel Trivi
2d06e69c31 am c04337aa: Merge "Make RemoteController weakly referenced by IRemoteControlDisplay" into klp-dev
* commit 'c04337aa5584405e121d9345932a7dc69bb48e5f':
  Make RemoteController weakly referenced by IRemoteControlDisplay
2013-10-08 16:33:21 -07:00
Jake Hamby
7f5bee01ec Fix NPE in CallerInfo.getCurrentCountryIso().
Internal method CallerInfo.getCurrentCountryIso() can throw NPE
if the country detector's detectCountry() method returns null.
Add code to check that the Country is not null before calling
getCountryIso() on it. Change fallback logic to call
locale.getCountry() whenever countryIso was not assigned.

Bug: 10607906
Change-Id: I08fe3f4d942f67c37a2e6ff0b067fe32ad8a6fa5
2013-10-08 16:31:16 -07:00
Jean-Michel Trivi
c04337aa55 Merge "Make RemoteController weakly referenced by IRemoteControlDisplay" into klp-dev 2013-10-08 23:31:04 +00:00