diff options
author | Rubin Xu <rubinxu@google.com> | 2021-03-04 15:42:09 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2021-03-04 16:11:24 +0000 |
commit | cbe48d94962ff5addc11cb1e4fcd8eb0805b4470 (patch) | |
tree | 03298c7a0120b9f86784fc2a51a304614657ca14 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ed23887b8ebe0dc9a7b882763164d52c84463621 (diff) |
Return copy of pending token list
Make SyntheticPasswordManager.getPendingTokensForUser() return
a copy of the token list, as the underlying list might change
if a pending token is activated or removed. This fixes the NPE
in LockSettingsService.activateEscrowTokens() where it tries
to iterate through the list and activate tokens.
Bug: 178560581
Test: atest com.android.server.locksettings
Change-Id: I59d159d792a3d9e2a79ea521d6f01a5cb7c65695
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions