Commit Graph

36132 Commits

Author SHA1 Message Date
Chong Zhang
060eeca69b Merge "Fix IME adjust when stack focus changes while IME is visible" into nyc-dev am: 3966fb9
am: 35e1368

* commit '35e13681e9c175f655596dc8a240d6b19be5ed71':
  Fix IME adjust when stack focus changes while IME is visible

Change-Id: I9b72a9f36e43d0fd708117b98f8373590c813e7d
2016-04-20 21:17:43 +00:00
Ruchi Kandoi
a78d8d303e Merge "window: Adds a Sustained Performance Mode window flag." into nyc-dev am: a645c97
am: 75da7b4

* commit '75da7b4ad041586d1a7a086467a6e6a76516e15f':
  window: Adds a Sustained Performance Mode window flag.

Change-Id: Id029aa2f10e4d278c385487739978075607f29a1
2016-04-20 21:17:12 +00:00
Ruben Brunk
04121ec122 Merge "Add settings for altering VR display behavior." into nyc-dev am: 6ada702
am: 5356c87

* commit '5356c871ac1d8ce2ee0de79e24c450d6907e70bb':
  Add settings for altering VR display behavior.

Change-Id: I35e79e9ba7517d05a0737e4974286a6a341c9640
2016-04-20 21:16:51 +00:00
Dongwon Kang
6bcb65d697 Merge "TIF: Do not build input list for background user" into nyc-dev am: 4a6bd4b
am: 2a5f69b

* commit '2a5f69b8c84d269be2f2ca71cdb5164308d4f967':
  TIF: Do not build input list for background user

Change-Id: Iaafbadb6d088ed072241c78b82c4aeb84bc8562d
2016-04-20 21:16:28 +00:00
Rob Carr
4450987a23 Merge "When restacking IM windows preserve relative order." into nyc-dev am: db973df
am: ab344b8

* commit 'ab344b84e2a96707720d19feb642e57b4b827976':
  When restacking IM windows preserve relative order.

Change-Id: Ie0ef57d3a66036ad850b7016ecad345d2d8886c2
2016-04-20 21:14:56 +00:00
TreeHugger Robot
9acf1516eb Merge "Added onRestrictBackgroundWhitelistChanged callback." into nyc-dev am: 9724fba
am: 0627850

* commit '0627850430ba3dad041891de570e0d08e22c13d2':
  Added onRestrictBackgroundWhitelistChanged callback.

Change-Id: I278f8b4f8e29ea69b15e7bef9556c0ed0a81c82b
2016-04-20 21:11:50 +00:00
Vladislav Kaznacheev
28ad3dce81 Merge "Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window" into nyc-dev am: c8df6aa
am: 64577d6

* commit '64577d61f57d12a4cd7010b25c21d641d95527a6':
  Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window

Change-Id: I9a079d761be6e8eb570fd268c13d28b553d16d57
2016-04-20 21:11:06 +00:00
Phil Weaver
88dbe09eae Merge "Clear calling identity when binding a11y services" into nyc-dev am: b72c306
am: e7da35f

* commit 'e7da35f5a7484719aaa170e38120b540bcda7655':
  Clear calling identity when binding a11y services

Change-Id: Ib1b3839a2ced07c7c2900b4c741c16fb2e18871e
2016-04-20 21:08:55 +00:00
Chong Zhang
3966fb942c Merge "Fix IME adjust when stack focus changes while IME is visible" into nyc-dev 2016-04-20 20:52:08 +00:00
Ruchi Kandoi
a645c9753f Merge "window: Adds a Sustained Performance Mode window flag." into nyc-dev 2016-04-20 20:35:21 +00:00
Ruben Brunk
6ada702993 Merge "Add settings for altering VR display behavior." into nyc-dev 2016-04-20 19:51:51 +00:00
Dongwon Kang
4a6bd4b48f Merge "TIF: Do not build input list for background user" into nyc-dev 2016-04-20 19:19:34 +00:00
Chong Zhang
f347ab5edd Fix IME adjust when stack focus changes while IME is visible
- Use two values to animate divider width adjustment separately
  from stack position adjustment. For example IME is visible
  with focus on bottom stack, then user clicks top stack. In this
  case bottom stack position should go back to unadjusted, but
  divider should remain thinner.

- If we need to start a new animation during an existing animation,
  start the motion from where the existing animation left off, so
  that it doesn't look discontinuous.

- Do not adjust if IME is not actually focused on any stack. This
  could happen when swiping down the status bar.

bug: 28175599
Change-Id: I802def5d1c13ebe11094eb28fc5a0b0c309e4d76
2016-04-20 11:55:58 -07:00
Rob Carr
db973df830 Merge "When restacking IM windows preserve relative order." into nyc-dev 2016-04-20 18:30:42 +00:00
TreeHugger Robot
9724fba835 Merge "Added onRestrictBackgroundWhitelistChanged callback." into nyc-dev 2016-04-20 17:44:56 +00:00
Vladislav Kaznacheev
c8df6aa42f Merge "Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window" into nyc-dev 2016-04-20 17:11:21 +00:00
Ruchi Kandoi
43e38de253 window: Adds a Sustained Performance Mode window flag.
Adds setSustainedPerformanceMode(boolean) API for applications to set
the mode for a given window. The mode will be disabled automatically when the
window is no longer in focus.

Bug: 28150358
Change-Id: Ibe8bc564eeaaccbcaad5c4f792cda16da931dffd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-20 09:57:11 -07:00
Dongwon Kang
a897e5f5e3 TIF: Do not build input list for background user
Building input list for background user leads to unnecessary connection
request to hardware input and that causes incomplete service state.

Bug: 27407198
Change-Id: Id8d5d5001394781edd2dafe8681c674855332ae3
2016-04-20 09:52:30 -07:00
Phil Weaver
b72c30653d Merge "Clear calling identity when binding a11y services" into nyc-dev 2016-04-20 16:33:28 +00:00
Amith Yamasani
108a289627 Merge "Reinitialize voice interaction service on unlock" into nyc-dev
am: ea61e63

* commit 'ea61e63bf8f1f92a837fc42eed037aabaa8d03b9':
  Reinitialize voice interaction service on unlock

Change-Id: I4858a2fe5d613574f748287ecc4fd980deb3d226
2016-04-20 16:24:45 +00:00
Amith Yamasani
ea61e63bf8 Merge "Reinitialize voice interaction service on unlock" into nyc-dev 2016-04-20 16:19:45 +00:00
Rubin Xu
48cef81f6e Merge "Kill foreground apps when turning off work" into nyc-dev
am: 49425d6

* commit '49425d612cee3864a316e9ecb6ec3faeae519b1e':
  Kill foreground apps when turning off work

Change-Id: Ie8ea1ec98232437623c83f7d32c1f05c47580b35
2016-04-20 09:40:38 +00: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
a33e35aa17 Merge "Allow switching keyboard layout to null." into nyc-dev
am: da067dc

* commit 'da067dcbf2f9376814e6a7ea8302f9dfcc5cef59':
  Allow switching keyboard layout to null.

Change-Id: I8ab3a3f0da296d4d5c12bf540c5d14f205fc6ee1
2016-04-20 09:22:19 +00:00
Keisuke Kuroyanagi
da067dcbf2 Merge "Allow switching keyboard layout to null." into nyc-dev 2016-04-20 09:12:51 +00:00
Robert Carr
b976877a4b When restacking IM windows preserve relative order.
We were still having some troubles with attached windows which we
werent properly promoting here. Now we catch everything with
the mIsImWindow flag. Before it was safe to assume dialogs
were on top of the Input Method but with a whole range of child
windows we need to be more careful. WindowManagerService has
been very careful preparing the window list for us, so carry
out its wishes and preserve the original relative ordering of
input method windows when restacking.

Bug: 28235787
Change-Id: Ied96d83f77b82df81b3b0aa94cb61e9c22999d23
2016-04-19 22:38:55 -07:00
Vladislav Kaznacheev
598d40d937 Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window
Bug: 28276601
Change-Id: Ic8da5c5ae422a9c9dd2d5bef898ee36a66b73afd
2016-04-20 04:51:40 +00:00
Jorim Jaggi
52f3cea81e Merge "Fix wrong transition when recents is growing when entering" into nyc-dev
am: 50c410c

* commit '50c410c1c91922e91fb8d1b873f6a541d1e2fd6c':
  Fix wrong transition when recents is growing when entering

Change-Id: I5583e72244d8997c6cdeec8d142bd1e69a7428e5
2016-04-20 02:56:29 +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
Adam Lesinski
27118e418b Merge "Move batterystats stats collection to its own thread" into nyc-dev
am: b7a92e6

* commit 'b7a92e6009fefc2cb390b886e6a971b0c8a3c2d8':
  Move batterystats stats collection to its own thread

Change-Id: I1666398f7ef098bd343c2b7e9da54434d9f24eb5
2016-04-20 01:31:43 +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
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
Amith Yamasani
37f9de996e Reinitialize voice interaction service on unlock
Fixes the incomplete initialization on FBE devices when
voice interaction service is not available before unlock.

Change-Id: I397237e4554453d29da643aee59384e289fa3654
Fixes: 28183380
2016-04-19 17:20:51 -07:00
Phil Weaver
13ce4693d3 Clear calling identity when binding a11y services
When a UiAutomation is destroyed, accessibility services may get
enabled as a side effect. That was causing these services to be
enabled in a binder thread, which threw a SecurityException.

Bug: 28268310
Bug: 28163652
Change-Id: Ie25ab05569b5b21b5f30e7d7eed24ef73b7ba159
2016-04-19 17:07:20 -07: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
Jeff Sharkey
ae59a1e0ee Merge "Don\'t block while dispatching PRE_BOOT." into nyc-dev
am: e23f581081

* commit 'e23f581081b834d6928a4e8924432e0109391387':
  Don't block while dispatching PRE_BOOT.

Change-Id: Ie40a2f49ff4e72ce6c7f605f959749021e3efce8
2016-04-19 23:28:57 +00:00
TreeHugger Robot
e23f581081 Merge "Don't block while dispatching PRE_BOOT." into nyc-dev 2016-04-19 23:23:49 +00:00
Robert Carr
1b72363846 Merge "Force windows to be scalable during pinned animation." into nyc-dev
am: 4e9a9df

* commit '4e9a9dfb67ebc48028b1613a03144101d94f7d92':
  Force windows to be scalable during pinned animation.

Change-Id: I772d120442ed82c55c71fbf5ce841735d7a14cc5
2016-04-19 22:17:16 +00:00
Adrian Roos
30110b80f7 Merge "Fix unprotected StatusBarManagerService calls" into nyc-dev
am: 3dd5948

* commit '3dd59487cc5f01f38e1e5068ce9257a40473baba':
  Fix unprotected StatusBarManagerService calls

Change-Id: I3afc4a7c1ed8e1f73dcd4c4c0c00a3eb40ac3ce1
2016-04-19 22:17:11 +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
Robert Carr
a4449d3f41 Merge "Place InputMethod after DockedDivider in window list." into nyc-dev
am: f815e1b

* commit 'f815e1b8d775240056308d94e8d15627cadb405e':
  Place InputMethod after DockedDivider in window list.

Change-Id: I5598f74d2840150bc406b41af1b6f4ab32a37326
2016-04-19 22:07:25 +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
Kenny Guy
75d4db49d9 Merge "Add test method to remove admins." into nyc-dev
am: 3c5ceae

* commit '3c5ceae1d35de476644e4d5db5978149311e63e6':
  Add test method to remove admins.

Change-Id: Icff7bb03ca1c2bc987d46450a2dd2f49edcfb60b
2016-04-19 21:53:23 +00:00
Amith Yamasani
3c5ceae1d3 Merge "Add test method to remove admins." into nyc-dev 2016-04-19 21:46:41 +00:00
Wale Ogunwale
9504f0e816 Merge "Don\'t crop windows not on defualt display to stack bounds." into nyc-dev
am: 976f28b

* commit '976f28b926964889666a72332b8483f81c777f60':
  Don't crop windows not on defualt display to stack bounds.

Change-Id: I690b3e24893089f256a70fad8c38452bfa3cdbbb
2016-04-19 21:46:35 +00: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
Joe Onorato
0c203b9a46 Merge "Add an event log for when the memfactor changes." into nyc-dev
am: a7f46b3

* commit 'a7f46b3ca6aa784b1456735c421922fd4c31626d':
  Add an event log for when the memfactor changes.

Change-Id: I9c8d2350ff9694dd1882263e9e25e3d087588569
2016-04-19 21:00:59 +00:00
Joe Onorato
2d7e674608 Merge "Consolidate the HealthStats UI to only use milliseconds." into nyc-dev
am: 4c4afed

* commit '4c4afedfc5134558c1f674c1fc8f41260e07bdeb':
  Consolidate the HealthStats UI to only use milliseconds.

Change-Id: I875b82483386bce75b35304970b6020d1da2ed5d
2016-04-19 21:00:52 +00:00