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
1 file changed