Commit Graph

250236 Commits

Author SHA1 Message Date
Jim Miller
837fa7e56d Bind fingerprint when we start authentication
This fixes a bug where it was possible to authenticate the wrong user.
We now bind the userId when we start authentication and confirm it when
authentication completes.

Fixes bug 30744668

Change-Id: I346d92c301414ed81e11fa9c171584c7ae4341c2
2016-08-08 20:16:22 -07:00
Chris Tate
1b72661e45 Merge "Reschedule date-change alarm whenever the time is set" into nyc-mr1-dev 2016-08-05 22:48:57 +00:00
TreeHugger Robot
cefcb979ae Merge "Not trying to remove admins already being removed" into nyc-mr1-dev 2016-08-05 22:38:21 +00:00
Christopher Tate
cf02471cde Reschedule date-change alarm whenever the time is set
Bug 30628519

Change-Id: Ic4180b9f3c822f3dfb7e35199f3d058938acf778
2016-08-05 14:10:55 -07:00
TreeHugger Robot
ba8f3d03ac Merge "Switch volume animation to Scene." into nyc-mr1-dev 2016-08-05 20:50:48 +00:00
Chong Zhang
82c5197d86 Merge "Fix WM missing stack/task when activity is force stopped and restarted" into nyc-mr1-dev 2016-08-05 20:04:56 +00:00
TreeHugger Robot
9d90b758c9 Merge "Correctly initialize rotation animation hint." into nyc-mr1-dev 2016-08-05 19:32:49 +00:00
Julia Reynolds
568585b47c Switch volume animation to Scene.
animateLayoutChanges is too janky.

Bug: 30070005
Change-Id: I88bb94c2de18a8ebc14f0f0aed48877a8b328d8a
2016-08-05 15:27:14 -04:00
Chong Zhang
d9d35bdfcf Fix WM missing stack/task when activity is force stopped and restarted
When activity process is force-stopped (like in the case we need to stop
it to allow debugger), activity record is removed and a new instance is
added. Depending on timing, adding of new record could happen before
or after old record is removed. If it added after old record is removed,
then the removal could cause AM to also remove the task AND the stack
(if the activity is the last one).

On WM side however, the task/stack removal could be delayed due to
animation. So when AM attaches a new stack, we end up with two stacks
with the same stack id in the DisplayContent. Also, AM reuses the last
used taskId after it's deleted. So WM is confused and didn't add a new
task record. Then when the delayed stack removal fires everything is gone.

We need to use a different task id when creating a new task record, even
if the last created task is already deleted. Also when attaching a new
stack to WM, first check if we already have such a stack in DisplayContent,
if so, reattach it and don't create a duplicate.

bug: 30465601
Change-Id: Ic399a32c54f6acdcbb9a0c6155599331d55df232
2016-08-05 12:16:04 -07:00
Adrian Roos
c49dfaf4d6 Merge changes from topic 'smooth_unlock' into nyc-mr1-dev
* changes:
  Keyguard: Improve trusted unlock while occluded
  Keyguard: Refactoring for improving trusted unlock while occluded
2016-08-05 18:37:29 +00:00
Chris Tate
b3690ccf2c Merge "Fix "adb backup -shared"" into nyc-mr1-dev 2016-08-05 18:04:25 +00:00
Robert Carr
d226512433 Correctly initialize rotation animation hint.
In the case of no activity options we won't initialize
it again later, and so we will override the apps request
with a hint of 0 (ROTATION_ANIMATION_ROTATE).

Bug: 30683604
Change-Id: I5eed12adfbb241859503bcd40f15ee82141436d8
2016-08-05 10:58:12 -07:00
TreeHugger Robot
9d9621f472 Merge "Move EphemeralResolverService" into nyc-mr1-dev 2016-08-05 17:37:35 +00:00
Rob Carr
d51f38ae38 Merge "WindowManager: Restore update behavior of mLastFrame." into nyc-mr1-dev 2016-08-05 17:00:20 +00:00
TreeHugger Robot
797b658428 Merge "QS: Fix accidental a11y tile removal" into nyc-mr1-dev 2016-08-05 15:49:12 +00:00
Wyatt Riley
549c81c270 Merge "LocationManager - Handle Shutdown for right User" into nyc-mr1-dev 2016-08-05 15:17:22 +00:00
Todd Kennedy
31b95e0265 Move EphemeralResolverService
It should not have been under com.android.internal

Fixes: 30673742
Change-Id: I2277aa4a4799fa59bf68af7c4cfcb4e1216aeb8d
2016-08-05 07:17:52 -07:00
Jason Monk
c896963063 QS: Fix accidental a11y tile removal
Change-Id: I5b5c3bac0b92a7cc5585dcd55571fa055da0e5eb
Fixes: 30443933
2016-08-05 10:08:11 -04:00
TreeHugger Robot
b11cc6cbd3 Merge "Call userActivity when dismissing keyguard" into nyc-mr1-dev 2016-08-05 11:53:59 +00:00
TreeHugger Robot
4d140b72f2 Merge "Fix flickering issues with FLAG_SHOW_WHEN_LOCKED and fingerprint wake" into nyc-mr1-dev 2016-08-05 11:53:38 +00:00
Phil Weaver
6f20514185 Merge "Only filter a11y motion events if needed." into nyc-mr1-dev 2016-08-05 00:37:19 +00:00
Wyatt Riley
1b24fb17b8 LocationManager - Handle Shutdown for right User
Only process a shutdown when it is for all users (whole system),
not a single user

Change-Id: Id51b7fb4606460462c2f6749e5ac3984bdd8319f
Bug: 30646142
2016-08-04 17:34:19 -07:00
Christopher Tate
60af594c3e Fix "adb backup -shared"
An accidental side-effect of introducing the XML content file and its
domain semantic checking was that the shared-storage domain got
dropped on the floor.  Now the mechanism understands what it means
again.

Bug 29999884

Change-Id: I22b99c96869683d1a92430f237dda54b170b8f60
2016-08-04 17:23:20 -07:00
Adrian Roos
ddcdecc952 Keyguard: Improve trusted unlock while occluded
Smoothly unlocks device when going from a SHOW_WHEN_LOCKED activity
to a DISMISS_KEYGUARD activity while the device is trusted.

This change suppresses the jank from going briefly through the
lockscreen if the device is trusted and unlockable without entering
a credential.

Bug: 27410215
Change-Id: Idd86e825d37a89538a0a1f690daf6afcf94a0699
2016-08-05 00:05:16 +00:00
Suprabh Shukla
9704e409df Not trying to remove admins already being removed
If someone calls removeActiveAdminLocked more than once, it is possible
for the device policy data to end up with more than one copy of an admin
in the list mRemovingAdmins. Due to extra entries, once the admin
component is removed, it is not being allowed to be set as an admin again,
until the device reboots or mRemovingAdmins is cleared from the memory
due to some other reason. Fixing this by making sure we do not add
duplicate entries to mRemovingAdmins

Bug: 30369197
Change-Id: I1d53c41312171425bbd6e6e4153148276f1b098d
2016-08-04 17:05:12 -07:00
Adrian Roos
d88eb2693b Keyguard: Refactoring for improving trusted unlock while occluded
- Adds a trusted signal from Keyguard to PhoneWindowManager
- Allows PhoneWindowManager to exempt DISMISS_KEYGUARD windows from force hiding
- Allows PhoneWindowManager to dismiss Keyguard while occluded

Bug: 27410215
Change-Id: I3ad490b64a5805b6f3888a9f37fcfbdd0116395e
2016-08-05 00:04:07 +00:00
Doris Ling
f32b03d124 Merge "Add metrics event for Settings->Display->Ambient Display." into nyc-mr1-dev 2016-08-04 23:39:38 +00:00
Adrian Roos
d1726e7598 Merge "HIC: Add report facility for overzealous anti-falsing" into nyc-mr1-dev 2016-08-04 23:24:04 +00:00
Adrian Roos
34b68d3c84 Merge "Only reorient nav bar if needed" into nyc-mr1-dev 2016-08-04 23:06:47 +00:00
Phil Weaver
dc5dedeaa2 Only filter a11y motion events if needed.
We've seen some jitter in motion events with accessibility
enabled. We can eliminate it by not passing motion events
through the filter if we know they won't be affected.

Bug: 30183085

Change-Id: I0ecc8d5a39c8e370fc3a8ab85c6357251a31f8ad
2016-08-04 15:58:44 -07:00
Annie Chin
6bcf0cdf37 Merge "setCarMode() only when car mode changes" into nyc-mr1-dev 2016-08-04 22:08:16 +00:00
Ruben Brunk
2f917df4be Merge "Don't crash system server when setting scheduler." into nyc-mr1-dev 2016-08-04 21:59:51 +00:00
Dianne Hackborn
a96e7ac463 Merge "Fix issue #30647973: stopForeground() doesn't remove notification" into nyc-mr1-dev 2016-08-04 21:56:25 +00:00
Ruben Brunk
29a4a9edb3 Don't crash system server when setting scheduler.
Bug: 30671326
Change-Id: I2f7913cd3cca052d5a653ff288459b0a6a69deda
2016-08-04 14:50:25 -07:00
Dianne Hackborn
569a45871c Fix issue #30647973: stopForeground() doesn't remove notification
Ignore the service that is actually trying to remove its notification.

Change-Id: I1293300cf2a4bea7c512df7b2242a18dcc25d1c6
2016-08-04 14:00:22 -07:00
TreeHugger Robot
a4b89c054c Merge "Correctly handle a case when there are no preloaded apps" into nyc-mr1-dev 2016-08-04 20:53:59 +00:00
Fyodor Kupolov
65889f7e26 Merge "Use Settings.Global.putInt for PACKAGE_VERIFIER_ENABLE" into nyc-mr1-dev 2016-08-04 20:52:01 +00:00
Doris Ling
f3cd2c6116 Add metrics event for Settings->Display->Ambient Display.
Bug: 29994493
Change-Id: I2eb71063db254cbe92511ca5cbe93b32c6b2c601
2016-08-04 13:21:53 -07:00
Robert Carr
dbf61b64b1 WindowManager: Restore update behavior of mLastFrame.
We need to always update mLastFrame like we used to. Moving
the update inside the conditional caused it to not update on position
changes.

Bug: 30665565
Bug: 30641229
Change-Id: Ic71e8a8f91765870ebe2c0559f61aa83540c3a0d
2016-08-04 13:16:55 -07:00
Philip P. Moltmann
7cee8be675 Merge "Add (corrected) usb power sink handling" into nyc-mr1-dev 2016-08-04 20:08:34 +00:00
Hemal Patel
eee5a7b846 Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs am: ca7eee3d11
am: ab35b73d1b

Change-Id: I37c06297dce5822845d044c82f8e030d23ea850f
2016-08-04 19:48:18 +00:00
Hemal Patel
e2088ef2ec Docs: Fixed info about spanning multiple columns am: 64e88cd296
am: 611f50d62f

Change-Id: If7a6f08237c51b49ad4a550c25c020b8a7a5d0b3
2016-08-04 19:48:15 +00:00
TreeHugger Robot
7aed32ac3d Merge "Fixed year on copyright notice." into nyc-mr1-dev 2016-08-04 19:45:27 +00:00
Hemal Patel
ab35b73d1b Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs
am: ca7eee3d11

Change-Id: I94b5abbf1d292a01ba439cafd80938f7fc92854d
2016-08-04 19:43:20 +00:00
Hemal Patel
611f50d62f Docs: Fixed info about spanning multiple columns
am: 64e88cd296

Change-Id: I8c4219e946fddbfc023bbe77549cc12fc0b6bd3a
2016-08-04 19:43:18 +00:00
Hemal Patel
ca7eee3d11 Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs 2016-08-04 19:38:42 +00:00
Makoto Onuki
0fd8670fd5 Merge "ShortcutManager: Update foreground check." into nyc-mr1-dev 2016-08-04 19:29:27 +00:00
Bert McMeen
85e3fee7d3 Docs: Fixed typo in API Overview am: 844c43a904
am: 653b768997

Change-Id: I56caec3330282d1acf9772d0ad21c27b31e2f602
2016-08-04 18:28:47 +00:00
TreeHugger Robot
118cb7d0f7 Merge "only rate limit notification updates" into nyc-mr1-dev 2016-08-04 18:25:15 +00:00
Bert McMeen
653b768997 Docs: Fixed typo in API Overview
am: 844c43a904

Change-Id: Ia855a58708afc4f12bae4b234b0f7ba10798aba4
2016-08-04 18:20:51 +00:00