summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorRicky Wai <rickywai@google.com>2016-05-11 18:00:20 +0100
committerRicky Wai <rickywai@google.com>2016-05-11 18:00:20 +0100
commit9cc7ad65a13b5d40566ea18be41a3c5a3610d4ab (patch)
treedca87e0fd4fad80235def51c87ba5ecb55baf297 /rs/java/android/renderscript/Script.java
parent5b40d70ced417f1f29f8ce36bed3ecfb26278486 (diff)
Use userHandle not credentialOwnerUserId to check if it needs to show lock
It is possible that unified keys stored in keystore is not migrated, while work mode is off and upgrade happens. At this moment, user not able to turn on work mode as work is not unlocked, and user cannot unlock work as parent's has a challenge. mLockPatternUtils.isSecure(userHandle) should be the same as mLockPatternUtils.isSecure(credentialOwnerUserId), except it is a unified lock and work profile does not setup a lock/key in keystore yet(migration). Bug: 28689675 Change-Id: Ia0755caa10ff94a25cf26c3e5907ecd33abd866e
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions