commit | efc1d53df3a2e7116d7ed83bca9bf8e384d32740 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Wed Sep 16 14:10:21 2020 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Wed Sep 16 14:10:21 2020 +0100 |
tree | 6a11cc5b670efb5732af0ce80fd51021503929bf | |
parent | 0a9ce3ff77608182a1931eec97868736d9b1c9ea [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