diff options
| author | 2022-03-24 13:34:08 +0000 | |
|---|---|---|
| committer | 2022-03-24 13:49:36 +0000 | |
| commit | d5584538f1aef379840ed1748a8b990670a68f11 (patch) | |
| tree | 979760a2bf1e4331338423555f163ced6c5affbd /libs/androidfw/AttributeResolution.cpp | |
| parent | ad2185f625ce072741f548de74f2f268e0c6fd58 (diff) | |
Add Keyguard DPM state change callback
DevicePolicyManager can change the security mode
(ie: pin/pattern/password/none), so on DPM state changes,
update SecurityContainer so that the Bouncer will be in the
correct security mode if there are any changes while the device
is already on the keyguard.
Prior to this CL, the security mode would eventually be reset when
the device went to sleep & woke back up; however, this issue
was causing flaky & slow tests.
Test: manual
From home screen: adb shell locksettings set-pin "1234"
From lock screen: adb shell locksettings clear --old "1234"
On lock screen: adb shell wm dismiss-keyguard
Observe & expect: keyguard is dismissed (previously bouncer would show)
Fixes: 223440441
Change-Id: I22281dcc85d75509f1a754d57359d5f862e3d8d0
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions