237704 Commits

Author SHA1 Message Date
Jeff Sharkey
083807d61c Send onUnlockUser() before PRE_BOOT broadcasts.
Before this change, a PRE_BOOT_COMPLETED receiver could try calling
back into the system to ask for AccountManager details, only to be
told the user wasn't unlocked yet.  If the broadcast code was probing
in a loop, it would force us to wait around for the 60-second ANR
timeout.  Since typical devices have ~7 PRE_BOOT receivers, this
would delay BOOT_COMPLETED and other operations, like mounting the
SD card, for up to 7 minutes.

Bug: 28024024

Change-Id: Ibf8611e6fe94b0deb5ae5715c86f897ff6779088
2016-04-06 14:07:11 -06:00
Steve McKay
3855e9ce49 Merge "Massage code to better support Files overlay." into nyc-dev 2016-04-06 18:44:59 +00:00
Tony Mak
a01c1f0d90 Merge "xxxTrustAgentConfiguration should be supported in the parent DPM instance" into nyc-dev 2016-04-06 18:39:21 +00:00
Jason Monk
8da25ef74a Merge "Fix inability to add all tiles." into nyc-dev 2016-04-06 18:34:55 +00:00
Jason Monk
89e6f010e2 Fix inability to add all tiles.
Change-Id: I1d6ea9825277c902e238a896580c96d509b459ef
Fixes: 27837813
2016-04-06 14:32:54 -04:00
Winson Chung
fef8cfc3f0 Merge changes I1bad66e2,Ibc93597e,Id985fc28 into nyc-dev
* changes:
  Remove the highlight on the overview button in the screen pinning dialog
  Fixing bad regression in alt-tab layout.
  Workaround to ensure that a SystemUI process is always available.
2016-04-06 17:50:31 +00:00
Phil Weaver
847afadd7a Merge "Eliminate deadlock in magnification." into nyc-dev 2016-04-06 17:49:48 +00:00
Lenka Trochtova
9745ea3536 Merge "Put disallow-safe-boot restriction to system settings to make it accessible during boot." into nyc-dev 2016-04-06 17:37:23 +00:00
Selim Cinek
f1f270a094 Fixed a bug where the height of the group was wrong
This lead to very visible bugs.

Bug: 24866646
Change-Id: I62bfbb2f3895a5a69eb4807d109643bdfdf95351
2016-04-06 17:36:08 +00:00
Jeff Sharkey
ee2c7c7d63 Merge "Wrap logcat invocations with timeout." into nyc-dev 2016-04-06 17:33:45 +00:00
Russell Brenner
e11eb10e8d Merge "Match SUW package after FBE reboot" into nyc-dev 2016-04-06 17:32:56 +00:00
Todd Kennedy
4bb80305fb Merge "Move cert tracing to PackageParser" into nyc-dev 2016-04-06 17:27:58 +00:00
Adam Powell
c0eb067ceb Merge "Fragment#setUserVisibleHint guard" into nyc-dev 2016-04-06 17:26:53 +00:00
Todd Kennedy
0f4bc2b800 Move cert tracing to PackageParser
Tracing for cert collection in PackageManagerService was only
catching one of a couple usages. Move tracing lower in the
call stack to ensure tracing exists for all calls.

Also added a new tag to differentiate between verifying v1 & v2
signatures.

Bug: 27502465
Change-Id: Ie29f326e44f32cdbea1572714689c82f07ca12ba
2016-04-06 10:25:24 -07:00
Steve McKay
53f109b39e Massage code to better support Files overlay.
Also, allow "productivity_mode" config to be enabled via intent extra
    as a developement aide.

Bug: 28006206
Change-Id: I7be8d96a0e924f9ce8023347e051d28d69a0eec9
2016-04-06 10:25:02 -07:00
Chong Zhang
52c30b0cf8 Merge "Set up none transition for relaunching apps during screen freeze" into nyc-dev 2016-04-06 17:18:53 +00:00
Yohei Yukawa
d4c676131f Merge "Add an overlayable config for IME switcher visibility." into nyc-dev 2016-04-06 17:15:48 +00:00
Robert Shih
696dc4d8df Merge "DrmInitData: prevent public constructor access" into nyc-dev 2016-04-06 17:13:23 +00:00
Lenka Trochtova
6474f0e02b Put disallow-safe-boot restriction to system settings
to make it accessible during boot.

BUG: 26251884

Change-Id: I1dee58dfc2aa746e0e97a6675c611c6e313ec91c
2016-04-06 19:11:23 +02:00
Bill Yi
1667682d99 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 17:10:27 +00:00
Bill Yi
a0026d58bc Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 17:03:21 +00:00
Robin Lee
589b855719 Merge "Remove bool return from setAlwaysOnVpnPackage" into nyc-dev 2016-04-06 17:01:24 +00:00
Jason Monk
b2c8a4a06a Merge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev 2016-04-06 16:57:44 +00:00
Adam Powell
3e10ae927c Fragment#setUserVisibleHint guard
Bug 28026606

Change-Id: I109bce6ecd35feaa045b61a7226b2a19344d2cda
2016-04-06 09:57:40 -07:00
Jason Monk
f30b5ca1b1 Make QS tile lifecycle tests less flaky (hopefully)
Change-Id: I387c774267c076cf244d2870b051ad6d586d3564
2016-04-06 12:54:26 -04:00
Bill Yi
4f997f2592 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 16:49:15 +00:00
Phil Weaver
445fd2afe9 Eliminate deadlock in magnification.
Use the lock from AccessibilityManagerService in
MagnificationController, since the two services call each other with
locks held.

Bug: 27725795
Change-Id: Iaed6749bf217210457325c3912da0f7aa0f6319a
2016-04-06 16:43:44 +00:00
Abodunrinwa Toki
856ebe206b Merge "FloatingToolbar: Include scroll indicators in overflow." into nyc-dev 2016-04-06 16:38:51 +00:00
Chris Wren
ac17049fbd Merge "don't pin ranking updates at the end of the queue." into nyc-dev 2016-04-06 16:36:54 +00:00
Jeff Sharkey
fe523c67bc Wrap logcat invocations with timeout.
We've seen evidence that the logcat binary can end up wedged, which
means we can eventually starve system_server for FDs.  To mitigate
this, wrap logcat using the timeout utility to kill and clean up if
it takes too long to exit.

Bug: 27994717, 28021719, 28009200
Change-Id: Ieed1460d89598628a5db868645fd305d0e9054ed
2016-04-06 10:22:44 -06:00
Russell Brenner
d69c9e7efb Match SUW package after FBE reboot
Add MATCH_DIRECT_BOOT_* flags when querying for SUW package.

Bug: 28027590
Change-Id: Ibd454340053ce24299f316e92cd6ec6b350d695e
2016-04-06 09:18:59 -07:00
Philip P. Moltmann
1a1f24980c Merge "Prefix printer description with service-label instead of package-label." into nyc-dev 2016-04-06 16:09:02 +00:00
Philip P. Moltmann
6c2bed24ec Merge "Print Activity: Use a single (re-implemented) parsing logig for page ranges." into nyc-dev 2016-04-06 16:08:49 +00:00
Raph Levien
6cfecf4dff Merge "Apply correct bottom padding to layouts" into nyc-dev 2016-04-06 15:52:56 +00:00
Julia Reynolds
fa305fcc6b Merge "Documentation update for interruption filters." into nyc-dev 2016-04-06 15:34:09 +00:00
Robin Lee
ee5eb934e3 Remove bool return from setAlwaysOnVpnPackage
Bug: 27533151
Change-Id: I4c656488e69cb5247dbb9cfd62d6f6f7043f9a90
2016-04-06 16:30:22 +01:00
David Brazdil
4ac550f681 Merge "Re-enable Optimizing apps dialog" into nyc-dev 2016-04-06 15:21:23 +00:00
Chris Wren
52020492f2 don't pin ranking updates at the end of the queue.
Apparently we schedule ranking updates all the time, so the job gets pulled
to the end of the queue, and can get starved. This change makes sure we
don't schedule multiple updates by leaving it in the queue. If a job in the
queue behind hte update request needs to send an update it will jsut
request one anyway, so we shouldn't miss updates.

Bug: 28015158
Change-Id: Id5b9d05ea6eb35e610ee34651e4cde8cddd4ae66
2016-04-06 11:12:02 -04:00
Yohei Yukawa
12a52bc391 Merge "Fix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling." into nyc-dev 2016-04-06 15:06:57 +00:00
Ben Kwa
2084796e23 Merge "DocsUI: Update the drag shadow to meet UI spec." into nyc-dev 2016-04-06 15:02:04 +00:00
Jeff Sharkey
32fa8d1371 Merge "Protect more broadcasts." into nyc-dev 2016-04-06 14:59:41 +00:00
Julia Reynolds
dd0605b052 Documentation update for interruption filters.
Bug: 27901142
Change-Id: I977f7dc4010dc826e06dfb01ad6db68380b80fde
2016-04-06 10:33:14 -04:00
Julia Reynolds
3397c88f79 Merge "Notify app op watchers when audio restrictions change." into nyc-dev 2016-04-06 14:27:35 +00:00
Andrei Stingaceanu
2616fbf631 Merge "Keyboard Shortcuts: protect against NPE in WindowManagerService" into nyc-dev 2016-04-06 14:26:04 +00:00
David Brazdil
0fd0f893dd Re-enable Optimizing apps dialog
Bug: 27350503
Change-Id: I98ae03571817792265780c9283b395c323638e14
2016-04-06 15:11:02 +01:00
Andrei Stingaceanu
f671147434 Keyboard Shortcuts: protect against NPE in WindowManagerService
Using an unresponsive app [while (true) { Thread.sleep(1000) }]
produces NPE:

WindowManager: Window Manager Crash
WindowManager: java.lang.NullPointerException: Attempt to read
               from field 'android.view.IWindow
               com.android.server.wm.WindowState.mClient' on a
               null object reference
WindowManager: at com.android.server.wm.WindowManagerService
               .requestAppKeyboardShortcuts
               (WindowManagerService.java:10628)

Which puts down SysUI (and requires restarting SysUI).

Protect against this by checking for nulls. The end result
is that the dialog is no longer shown for unresponsive apps
and SysUI does not break.

Bug: 27914463
Change-Id: I37f0b0d5980f6ddc50f3bb778582d23ee1c7e9c3
2016-04-06 14:55:07 +01:00
Abodunrinwa Toki
8949faf066 FloatingToolbar: Include scroll indicators in overflow.
Bug: 27427333
Change-Id: I7480cfe5f75d04e04792d9443435a76ab6773c64
2016-04-06 14:22:42 +01:00
Rubin Xu
7f2bc45330 Merge "Clear caller identity when calling createConfirmDeviceCredentialIntent" into nyc-dev 2016-04-06 13:12:56 +00:00
Jaesung Chung
5905bf738c Merge "Fix build" into nyc-dev 2016-04-06 12:50:32 +00:00
Jaesung Chung
fd3446e0aa Fix build
Change-Id: I38aa2f70fef3cb5b4a6fe42a3e4aa8e0a16e6fe0
2016-04-06 21:44:13 +09:00