250446 Commits

Author SHA1 Message Date
Alison Cichowlas
c7d6af6cd0 Merge "Add restart to GlobalActions." into nyc-mr1-dev 2016-08-12 20:12:38 +00:00
TreeHugger Robot
54250f58b2 Merge "Add property to force restorecon to run." into nyc-mr1-dev 2016-08-12 20:12:17 +00:00
Rob Carr
4a86fbc4d9 Merge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev 2016-08-12 20:00:07 +00:00
Chong Zhang
b6ee436eee Merge "DO NO MERGE -- Revert the following two commits as they're causing flickering" into nyc-mr1-dev 2016-08-12 19:44:12 +00:00
Chong Zhang
44bd57ee25 DO NO MERGE -- Revert the following two commits as they're causing flickering
When double tapping Recents, need to reinvestigate.

b/30831873
b/30790402

Revert "Clear WS.mDestroying on AWT.clearAnimatingFlags"

This reverts commit c2661e52eae3161ac8c02e831290ad50ad395be2.

Revert "Some fixes for transition animation selection"

This reverts commit 73e9bc3f1557f0320c8af843dfb051f27187361d.
2016-08-12 19:40:28 +00:00
Rob Carr
60ce77aa38 Merge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev 2016-08-12 19:37:16 +00:00
Jeff Sharkey
6da39a4406 Add property to force restorecon to run.
As an optimization, we typically only run restorecon when
seapp_contexts changes.  This CL checks a property that can be used
to always force a restorecon to help investigate boot timing.

Bug: 30213213
Change-Id: I4d65c1a4e4a0830ef4a32cd2fae1d3ab188b65cc
2016-08-12 18:34:09 +00:00
Yohei Yukawa
41941689b7 Merge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev 2016-08-12 17:43:43 +00:00
Alison Cichowlas
f8eca405c1 Add restart to GlobalActions.
Update power icon in GlobalActions for consistency
with new restart icon.

Bug: 30395806
Change-Id: I5ab20c15c889384fb685fc678fbf9ed912fcde5d
2016-08-12 13:41:00 -04:00
Jason Monk
de214f40cf Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev 2016-08-12 17:04:47 +00:00
Tyler Gunn
34910458c4 Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev 2016-08-12 14:54:27 +00:00
John Reck
4804404e11 Merge "Fix NPE in TextureView" into nyc-mr1-dev 2016-08-12 14:25:15 +00:00
TreeHugger Robot
ccd9ff6157 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-12 10:44:41 +00:00
TreeHugger Robot
d97f049315 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-12 09:24:39 +00:00
TreeHugger Robot
438c3cbffe Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-12 09:24:20 +00:00
Bill Yi
7e33c8c4d2 Import translations. DO NOT MERGE
Change-Id: Ib152ecb48817f123084dd0c776f3aa6393fc3f83
Auto-generated-cl: translation import
2016-08-12 00:26:31 -07:00
Bill Yi
cf9a807e7e Import translations. DO NOT MERGE
Change-Id: I27949ecc8590b8c00ddac9c45000e34c11205a29
Auto-generated-cl: translation import
2016-08-12 00:13:54 -07:00
Bill Yi
ab3feb2c95 Import translations. DO NOT MERGE
Change-Id: I617474f76296482b1eade0ad6ed909b4c4fd25c7
Auto-generated-cl: translation import
2016-08-12 00:06:34 -07:00
Yohei Yukawa
982a94c5e3 Fix a race to detemine IME switcher visibilityde
When the current user is switching to a user who requires password to
unlock, there is a chance that InputMethodManagerService has not
completed InputMethodManagerService#onSwitchUser() when the keyguard is
calling InputMethodManager#getEnabledInputMethodList() to detemine
whether the IME switcher icon should be shown or not.  If this occurs,
and if the previous user enables only one IME but the new user enables
multiple IMEs, it's possible that the IME switcher icon is not shown
when it should be.  Although the user is still able to work around this
by switch back to the previous user then the current user again until
the icon shows up, or can rely on a way to switch to next
IME (e.g. globe key) if it's available, the lack of the IME switcher
is still concerning since it can prevent the user from unlocking the
device.

As a quick workaround for this situation, this CL introduces a delayed
task to re-evaluate if we need to show the IME switcher icon on the
keyguard or not (currently the delay is set to 500msec) until this race
condition is fundamentally fixed.

Bug: 30640917
Change-Id: I93ea71d73540c31fbbe1cc4bd6747871f957dcc6
2016-08-11 19:16:02 -07:00
Sanket Padawe
36879a9d82 Merge "Make data warning notification heads up." into nyc-mr1-dev 2016-08-12 01:38:45 +00:00
Chong Zhang
305d610fd8 Merge "Allow to keep screen on only if window can be seen" into nyc-mr1-dev 2016-08-12 00:42:57 +00:00
Ruben Brunk
f36d81038a Merge "Include tids in android.util.Process exceptions." into nyc-mr1-dev 2016-08-12 00:00:37 +00:00
Sanket Padawe
c015e1c63c Make data warning notification heads up.
Bug: 30760683
Change-Id: Id3fed0a62936dddabcb169536a4a917d750259d7
2016-08-11 16:34:10 -07:00
Amith Yamasani
792aaab77a Merge "Clean up when recycling a pid with a pending launch" into nyc-mr1-dev 2016-08-11 20:48:27 +00:00
Wale Ogunwale
efa21a9924 Merge changes Ide94af72,Ie2c94439 into nyc-mr1-dev
* changes:
  Clear WS.mDestroying on AWT.clearAnimatingFlags
  Some fixes for transition animation selection
2016-08-11 20:43:28 +00:00
Phil Weaver
364580d20a Merge "Limit capabilities of a11y gesture dispatch." into nyc-mr1-dev 2016-08-11 20:35:12 +00:00
Phil Weaver
aefa892035 Merge "Don't preserve a11y focus in hierarchy state." into nyc-mr1-dev 2016-08-11 20:34:42 +00:00
TreeHugger Robot
b1dfc3e7e1 Merge "Dump out last real used app transit type" into nyc-mr1-dev 2016-08-11 20:29:43 +00:00
Chris Tate
dd59a27f2e Merge "Check system & lock wallpaper backup eligibility independently" into nyc-mr1-dev 2016-08-11 20:20:09 +00:00
Tyler Gunn
ed21e8fc0c Add ImsReason codes and DisconnectCauses for data disconnects.
Adding reason code and disconnect causes for:
1. disconnects due to user disabling data.
2. disconnects due to data limit being reached.

Bug: 30702393
Change-Id: Id6ea5ee4f5aac1a8602094315f893e2f7b3cc8d6
2016-08-11 13:13:51 -07:00
Robert Carr
c24078f1a2 Fix NPE in deferToPendingTransaction.
Just because a child window has a surface doesn't necessarily
mean the parent window will have a surface. destroySurfaceLocked()
only takes care of setting mAttachedHidden so the child surface
will be invisible, but it may not be destroyed until a later point.

Bug: 30813094
Change-Id: Idb1b03fd61a7537ebfe33bafc93f278c0e6751f4
2016-08-11 13:03:02 -07:00
TreeHugger Robot
fd97e7bc8c Merge "Do not toggle OEM unlock if bootloader unlocked" into nyc-mr1-dev 2016-08-11 18:45:26 +00:00
Christopher Tate
6172266154 Check system & lock wallpaper backup eligibility independently
Bug 30751829

Change-Id: Ic94689dd63238449222d1aea07231d9fd29fc76d
2016-08-11 11:22:14 -07:00
John Reck
7e237189c2 Fix NPE in TextureView
Bug: 30779663
Change-Id: Ib3d40b60674ab3de8bfcfdd8489b89cf07b8d8b3
2016-08-11 10:43:14 -07:00
Andrew Sapperstein
f679329412 Merge "Use colorAccent for profile_button." into nyc-mr1-dev 2016-08-11 17:27:56 +00:00
Ta-wei Yen
fb6e1bf239 Merge "Add API to enable/disable the visual voicemail client" into nyc-mr1-dev 2016-08-11 17:15:14 +00:00
Esteban Talavera
c48b20f8f1 Do not toggle OEM unlock if bootloader unlocked
Bug: 30681215
Change-Id: Ia0fd55dd7b6b731d6f5733fc733621e99bd7b153
2016-08-11 18:14:03 +01:00
smain@google.com
7a66b70d96 add info about how to return default values from android.jar bug: 30757670
am: abfa7e2c65

Change-Id: I60f631fa7d33bc8cd39082a8caf8dbb9f94bb47c
2016-08-11 16:42:03 +00:00
Wale Ogunwale
3c0d44e633 Clear WS.mDestroying on AWT.clearAnimatingFlags
We call AppWindowToken.clearAnimatingFlags() when an app token is
no longer considered exiting since it is now part of the opening
app transition. To the same effect we should no longer consider
its windows destroying so they can be factored in when decided
what to do during the transition like picking the right wallpaper
target.

Bug: 30790402
Change-Id: Ide94af72a38bd4a955abb122b47f921fd3f70652
2016-08-11 09:34:45 -07:00
smain@google.com
abfa7e2c65 add info about how to return default values from android.jar
bug: 30757670

Change-Id: I84e1624cbe7ae8d5e4e2886d4e8f61d621729464
2016-08-11 16:28:01 +00:00
Chong Zhang
808621ca54 Some fixes for transition animation selection
- Request wallpaper adjust after we clear mDestroying or
  mAnimatingExit flags, as these could affect wallpaper
  target selection result.

- Adjust wallpaper before we check lower/upper target. As
  there could be pending operations that requested a wall-
  paper update. Lower/upper target is needed to correctly
  decide if the opening or closing apps had wallpaper.

- Make sure lower/upper targets are set even when current
  target is clientHidden, in which case we should set
  wallpaper target to old target but the lower/upper
  still needs to be set up.

Bug: 30790402
Bug: 30255354
Change-Id: Ie2c94439142cbb91660c5aa4164cc660831486d5
(cherry picked from commit ec8299ca4575cb5afe96bb60082d50cb8a01c74b)
2016-08-11 08:00:51 -07:00
Chong Zhang
60091a978f Dump out last real used app transit type
Easier for debugging or testing bad exit animations.

Bug: 30790402
Bug: 30255354
Change-Id: I8097195bfc918baf66ecc99b55f4845aba2eaff4
(cherry picked from commit 1c93f6de2dd74dfc7ee0f52aca6e8b491ace02f9)
2016-08-11 08:00:28 -07:00
Julia Reynolds
2af6932ae8 Merge "Don't run expand/collapse animations when dismissing." into nyc-mr1-dev 2016-08-11 14:28:48 +00:00
Geoffrey Pitsch
eed326b072 Merge "Suppress Boot sound for non-standard scenarios." into nyc-mr1-dev 2016-08-11 12:56:43 +00:00
TreeHugger Robot
609770d34b Merge "Make NightDisplayService robust to early alarms" into nyc-mr1-dev 2016-08-11 02:46:50 +00:00
TreeHugger Robot
f6487b63a1 Merge "Only disable trust agents after lockout" into nyc-mr1-dev 2016-08-11 02:30:32 +00:00
TreeHugger Robot
927db408a2 Merge "Zygote: allow system server compilation to fail" into nyc-mr1-dev 2016-08-11 02:02:09 +00:00
Justin Klaassen
4346f63dbf Make NightDisplayService robust to early alarms
Bug: 30743700

Use the same time for calculating the next activated state and
scheduling the next alarm. This prevents the alarm from being scheduled
incorrectly if the activated state is updated slightly before the
scheduled start or end time.

Change-Id: I690aebddd28547a25b507c227c4527ffdd7c6a02
2016-08-10 18:22:42 -07:00
Adrian Roos
9d6fc9246b Only disable trust agents after lockout
Previously trust agents would be disabled even after one
wrong attempt. Now we wait for the cooldown (usually 5 attempts),
the same as fingerprint.

Also adds a TrustArchive entry of when device policy changes are sent to
trust agents.

Bug: 30037948
Change-Id: I9e284d994ddae45ef66b5b8b601297c63d8ba667
2016-08-10 18:01:32 -07:00
TreeHugger Robot
262f0186bd Merge "Base date-change alarm on 24h "hour zero," not 12h" into nyc-mr1-dev 2016-08-11 00:57:27 +00:00