diff options
author | Rubin Xu <rubinxu@google.com> | 2020-09-16 14:10:21 +0100 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-11-12 18:34:18 +0000 |
commit | afa79a6b28018acb66b065abc92fccf26ce94d61 (patch) | |
tree | 1af102c5314852bd04a96860c401d4921ec7373a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fd341ded939b9b326854c84c787c3ad6e22c0f97 (diff) |
Do not re-initialize synthetic password
A bug was introduced in R where LSS ends up regenerating SP
when an escrow token is being auto-activated on unsecured user,
due to a logic error in shouldMigrateToSyntheticPasswordLocked().
Fix the bug and add some safeguards as well as unit test to
prevent future regressions.
Bug: 168692734
Test: atest com.android.server.locksettings
Change-Id: If35f2fd26b49faf6e3d0d75c10b1b3bb95f247c2
(cherry picked from commit efc1d53df3a2e7116d7ed83bca9bf8e384d32740)
(cherry picked from commit 2d51788b08aa85afdb27af4f4586ac40dc949097)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions