diff options
author | 2023-09-19 19:50:21 +0000 | |
---|---|---|
committer | 2023-09-19 21:01:31 +0000 | |
commit | 5fba6ecb07c70dfc229a63249bf105c09ebea5b3 (patch) | |
tree | 3b96fc8e2cf0cacb7db9934c994c0007d5e60302 /libs/androidfw/BackupHelpers.cpp | |
parent | 710ffbed47e9afd56d7571e67c65b1755879c8a5 (diff) |
Updated: always show the keyguard on device lockdown
Additionally, don't hide keyguard when it's disabled if the user has locked
down the device.
Manual test steps:
1. Enable app pinning and disable "Ask for PIN before unpinning" setting
2. Pin an app (ie: Settings)
3. Lockdown from the power menu
4. Observe: user is brought to the keyguard, primary auth is
required to enter the device.
=> After entering correct credential, the device is still in
app pinning mode.
=> After entering an incorrect credential, the keyguard remains
showing and the user can attempt again up to the limit
Bug: 300463732
Bug: 218495634
Test: atest KeyguardViewMediatorTest
Test: manual
Change-Id: I70fdae80f717712b3dfc9df54b9649959b4bb8f0
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions