Skip to content
Commit 7cbbf222 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Screen-pinning unpin security fails for secondary user.

The setting that inidcates that the user must unlock the device first
to unpin an app is always read for the owner user, so if the owner
disables this it will also be disabled for all secondary users no
matter what they have selected.

Bug: 64235463
Test: Manual
- Enable Screen-pinning for owner
- Uncheck 'Ask for PIN when unpinning'
- Create a secondary user
- Create keyguard PIN
- Enable screen-pinning for secondary user
- Check 'Ask for PIN when unpinning'
- Exit settings and start an app
- Pin the app from recents
- Unpin the app
The keyguard should appear on unpin with this commit applied

This is a cherry-pick of I8b9a98dc50e061b14c091d723223577cd94513ab

Change-Id: I880440b82643915cdb088ef4f4da19ce2db689f6
parent 305e97ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment