commit | 4ec033ca8a0ccc4deceb7d2bc9124ad2929fdf0a | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Wed Jan 13 23:40:18 2021 -0800 |
committer | Tianjie <xunchang@google.com> | Wed Jan 13 23:40:18 2021 -0800 |
tree | e713ce77589b22df8d46e2b99e2aa2576ff2a677 | |
parent | 3b26172c84c8783c05b16556754e2d8c3c97ac2f [diff] |
Do not remove the k_k until all users are unlocked The key in keystore is used to encrypt the escrow data. We need to iterate over all users before deleting it from key store. Otherwise, the RoR for the 2nd user will fail. Bug: 172780686 Test: atest CtsAppSecurityHostTestCases:ResumeOnRebootHostTest#resumeOnReboot_TwoUsers_BothUserUnlock_Success Change-Id: I82d94195fe5716d42e363604be5ead3eb3e300fd