diff options
author | Pavel Grafov <pgrafov@google.com> | 2019-05-03 15:58:54 +0100 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2019-05-08 15:26:24 +0100 |
commit | 67d4426e3800b8ddcbcad82488145cb21e041a6a (patch) | |
tree | ea9e7c8056054c1215cbce2cd47cd3ba17c09637 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 090cb136006ba6c9fbdcf84873df4a059e3f6200 (diff) |
Restart the user only after the key is evicted.
This solves a race condition that occurs during
DMP.lockNow(FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY) when the user is
restarted too early and key eviction is skipped to avoid data
corruption in the user startup.
Fixes: 130337379
Test: atest com.android.cts.devicepolicy.ManagedProfileTest#testLockNowWithKeyEviction
Change-Id: Ie411b502a44201726b18314204ec78ee90d204d0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions