diff options
author | Rubin Xu <rubinxu@google.com> | 2021-03-04 15:42:09 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2021-03-09 16:14:50 +0000 |
commit | 8171508fe077325781ce83ff849a1d162ab8eff5 (patch) | |
tree | 0350e24dc172b97cce53daf19339d467e6b49ad1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 84da0714a28a36effd724bd1ccfce91c9393f2c6 (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
Merged-In: I59d159d792a3d9e2a79ea521d6f01a5cb7c65695
Change-Id: I59d159d792a3d9e2a79ea521d6f01a5cb7c65695
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions