240327 Commits

Author SHA1 Message Date
Jason Monk
c4f80d217e Allow QS details to scroll when the screen is really small
Change-Id: Ib28b6e9d888e864741c3ac472d30ef7cae06fe67
Fixes: 27276984
2016-04-20 13:30:11 -04:00
Rubin Xu
49425d612c Merge "Kill foreground apps when turning off work" into nyc-dev 2016-04-20 09:33:52 +00:00
Keisuke Kuroyanagi
da067dcbf2 Merge "Allow switching keyboard layout to null." into nyc-dev 2016-04-20 09:12:51 +00:00
Tomasz Mikolajewski
0fb51357af Merge changes I5e500724,I40cfb12c into nyc-dev
* changes:
  Restrict selection to 1000 items in DocumentsUI.
  Cancel band selection on directory change.
2016-04-20 03:57:28 +00:00
Jakub Pawlowski
75760e6b62 Merge "OobData documentation" into nyc-dev 2016-04-20 03:15:23 +00:00
TreeHugger Robot
c75e08d114 Merge "Don't do anti-falsing on locked shade" into nyc-dev 2016-04-20 03:00:30 +00:00
TreeHugger Robot
50c410c1c9 Merge "Fix wrong transition when recents is growing when entering" into nyc-dev 2016-04-20 01:48:39 +00:00
TreeHugger Robot
75db0392b8 Merge "Fix NPE in WallpaperDrawable" into nyc-dev 2016-04-20 01:27:35 +00:00
Adam Lesinski
752434a0ff Merge "Record in progress count when parceling Timer" into nyc-dev 2016-04-20 01:22:37 +00:00
Adam Lesinski
b7a92e6009 Merge "Move batterystats stats collection to its own thread" into nyc-dev 2016-04-20 01:18:49 +00:00
Adrian Roos
ecdc5c4448 Merge "Disable anti-falsing logic with touch exploration" into nyc-dev 2016-04-20 00:38:06 +00:00
Adam Lesinski
20b84dfa59 Move batterystats stats collection to its own thread
Too many other tasks run on common handlers, and the batterystats collection
may block waiting for a timeout of up to 2 seconds.

Bug:27857665
Change-Id: I5be1ddc374d69620f4f7d821eb29e8524294c9a4
2016-04-19 17:33:33 -07:00
Adrian Roos
6a70b884df Don't do anti-falsing on locked shade
The user has already passed the keyguard test by
dragging down. We're not doing anti falsing at this
point and doing it on the affordance was triggering
a crash on debuggable builds (and not working at all
on regular builds).

Change-Id: Icaf81e8e2a38503851c7b5699a0f5a3d363dac19
Fixes: 28154836
2016-04-20 00:32:21 +00:00
Adam Lesinski
98f0d4692c Record in progress count when parceling Timer
The total time is computed before parceling, but the total count is not.

Bug:27747854
Change-Id: If3afdca9605f74d96a54fb9df17f6df761b99e55
2016-04-19 17:21:40 -07:00
Winson Chung
5d65340fc5 Merge "Fixing crash when dumping secondary SystemUI user service." into nyc-dev 2016-04-20 00:21:39 +00:00
Chen Xu
771fbfef27 Merge "Cold Sim issue fix" into nyc-dev 2016-04-20 00:10:01 +00:00
Jorim Jaggi
13219992a0 Merge "Fixes for resize thread" into nyc-dev 2016-04-20 00:07:54 +00:00
Jorim Jaggi
db21bbd2ca Fix wrong transition when recents is growing when entering
Bug: 27855229
Change-Id: I050305d16df6fe53abf5e74e1f9ee6c882dd7ead
2016-04-19 17:07:06 -07:00
Adrian Roos
751f33f8c7 Fix NPE in WallpaperDrawable
Fixes: 28272898
Change-Id: I0377a341c253c79f5179b3a9c8eadcf51f9ffad3
2016-04-19 16:41:36 -07:00
TreeHugger Robot
e23f581081 Merge "Don't block while dispatching PRE_BOOT." into nyc-dev 2016-04-19 23:23:49 +00:00
Winson
5b15f9bb9d Fixing crash when dumping secondary SystemUI user service.
- Secondary user’s SystemUI process is initialized with 
  SERVICES_PER_USER, which is a strict subset of SERVICES, but mServices
  is a fixed size array that does not change, so we need to add a null
  check when iterating through the current list of services for the 
  non-primary user.

Bug: 28153575
Change-Id: I0a6b4726e82f2efddda358a835b1ef3d9f165375
2016-04-19 16:18:28 -07:00
Winson Chung
b77d0bcc84 Merge changes Ie3125ec8,Ifa149322,Ifa2ed84a into nyc-dev
* changes:
  Tweaking accessibility actions for dock divider.
  Ensure that the drag view is not dimmed.
  Disallowing scrim activity from setting TaskDescription.
2016-04-19 23:01:20 +00:00
TreeHugger Robot
28baa37a56 Merge "Show "Android System" instead of "Shell" on notifications." into nyc-dev 2016-04-19 22:34:54 +00:00
TreeHugger Robot
e45ed15388 Merge changes Id1278b07,Ic3da5046 into nyc-dev
* changes:
  Fixed a bug where expanding by touch wasn't possible
  Made sure the fake shadow won't be invisible
2016-04-19 22:23:32 +00:00
Selim Cinek
fe090658b6 Fixed a bug where expanding by touch wasn't possible
In landscape expanding by touch was not working because
the rawX is different from the X.

Change-Id: Id1278b073ea2e10258648884c528f5db273f2d78
Fixes: 27923197
2016-04-19 15:19:04 -07:00
Selim Cinek
e4367d60fc Made sure the fake shadow won't be invisible
The shadow could still be invisible as it was too
small.

Change-Id: Ic3da504663a449e60f490af14bb98701cff2653c
Fixes: 27317665
2016-04-19 15:19:00 -07:00
Doris Liu
dd67b0d525 Merge "Fix pause/resume for AnimatorSet" into nyc-dev 2016-04-19 22:14:37 +00:00
Doris Liu
967d93440c Merge "Pause infinite AVD when the drawable is not visible" into nyc-dev 2016-04-19 22:14:13 +00:00
Rob Carr
4e9a9dfb67 Merge "Force windows to be scalable during pinned animation." into nyc-dev 2016-04-19 22:11:02 +00:00
Adrian Roos
e5cd24dcdc Merge "Reload LockscreenWallpaper and ImageWallpaper on background thread" into nyc-dev 2016-04-19 22:06:15 +00:00
Adrian Roos
3dd59487cc Merge "Fix unprotected StatusBarManagerService calls" into nyc-dev 2016-04-19 22:05:44 +00:00
Jeff Sharkey
fd24108ca9 Don't block while dispatching PRE_BOOT.
While we're waiting on the final UX around PRE_BOOT_COMPLETED, don't
frustrate users by giving them a lockscreen that appears frozen
for several seconds.

Bug: 28164677
Change-Id: I54b62cea9bb83bc0f82fdf7e6e46a4640e1a30de
2016-04-19 15:58:27 -06:00
Rob Carr
f815e1b8d7 Merge "Place InputMethod after DockedDivider in window list." into nyc-dev 2016-04-19 21:54:23 +00:00
Amith Yamasani
3c5ceae1d3 Merge "Add test method to remove admins." into nyc-dev 2016-04-19 21:46:41 +00:00
Winson
ce9630da86 Tweaking accessibility actions for dock divider.
- Adding tl_full/70%/50%/30%/rb_full

Bug: 27724715
Change-Id: Ie3125ec81e6463696cf56640c6b86f9cfcbda945
2016-04-19 14:46:24 -07:00
Jorim Jaggi
0d6222d96d Fixes for resize thread
- Make sure to draw navigation bar/status bar background before the
main render node. This is to avoid any flickering when entering
resizing mode, so you rather overdraw than underdraw.
- Draw the first frame from the main thread directly to increase
chance that all drawing commands are processing within a single
frame.

Bug: 27864358
Bug: 28003586
Change-Id: I033f57cdbcb2c16ea93134c041095a415d5c25b4
2016-04-19 14:41:11 -07:00
TreeHugger Robot
976f28b926 Merge "Don't crop windows not on defualt display to stack bounds." into nyc-dev 2016-04-19 21:38:30 +00:00
fionaxu
b5592dc9f4 Cold Sim issue fix
Bug: 25203607
Change-Id: Ibde6a483477cb7c94f75b656d5e41748b13b23b2
2016-04-19 14:24:56 -07:00
Chris Craik
6ed4e35e49 Merge "Document startService cost" into nyc-dev 2016-04-19 21:08:14 +00:00
Joe Onorato
6bf86d5e5c Merge "Add the wall clock time to dumpsys cpuinfo so it's easier to correlate with the logs." into nyc-dev 2016-04-19 20:49:43 +00:00
Joe Onorato
a7f46b3ca6 Merge "Add an event log for when the memfactor changes." into nyc-dev 2016-04-19 20:49:32 +00:00
Joe Onorato
4c4afedfc5 Merge "Consolidate the HealthStats UI to only use milliseconds." into nyc-dev 2016-04-19 20:49:20 +00:00
Fyodor Kupolov
f33e2da037 Merge "Call defuse even when restrictions bundle is empty" into nyc-dev 2016-04-19 20:35:03 +00:00
Wale Ogunwale
4c5aa51717 Don't crop windows not on defualt display to stack bounds.
There are some windows that live on other displays while there app
and main window live on the default display (e.g. casting...). We
don't want to crop this windows to the stack bounds which is only
currently supported on the default display.

Bug: 26782253
Change-Id: I45648cc6fe8729e35f5b28eb06207aac6c263cdf
2016-04-19 12:59:13 -07:00
Tony Mak
66e640d8b4 Merge "Fix the misuse of calling user id as group id" into nyc-dev 2016-04-19 19:55:46 +00:00
Robert Carr
1ca6a33f36 Force windows to be scalable during pinned animation.
We resize windows at the beginning of the pinned stack
animation when animating to a larger size, and so for some
duration a resize will be pending. We need to force the window
out of SCALING_MODE_FREEZE so we can animate during this period.

Bug: 27891386
Change-Id: I5cff599ed67f2c179e938662b6f0d99bd790aaba
2016-04-19 12:47:18 -07:00
Todd Kennedy
069ed7003b Merge "Always perform has code check" into nyc-dev 2016-04-19 19:47:00 +00:00
Tony Mak
ff715ac551 Fix the misuse of calling user id as group id
1. The userId stored in different clients are actually calling user id.
groupId should be used to do all the operations. Also, renamed the variable
to avoid further confusion.

2. Fix the bug null is always returned in getFingerprintDaemon
   in RemovalClient.

3. Fix the misuse of calling uid as calling user id in startAuthentication.

Fix: 28268635
Fix: 28264725

Change-Id: I618ac3c6d913ae5c86e7b04cb3f9ead39828f216
2016-04-19 20:44:12 +01:00
Todd Kennedy
f720a9d91e Always perform has code check
Move code checking from the package parser and into the block
where we implement policy.

Bug: 28132476
Change-Id: Ie5cacacbf80289ff8d85acc5b57e58ea7216859c
2016-04-19 12:40:54 -07:00
Robin Lee
79c4dca2a8 Merge "Unit test for UidRange.java and UidRange.cpp" into nyc-dev 2016-04-19 19:25:41 +00:00