diff options
| author | Nate Myren <ntmyren@google.com> | 2021-12-01 15:15:47 -0800 |
|---|---|---|
| committer | Nate Myren <ntmyren@google.com> | 2021-12-21 00:07:02 +0000 |
| commit | 2623d2792bb56bd81cfeec0430cb0c024ddaf684 (patch) | |
| tree | b199ec5f20aa3aed2306f399b113c677d8bb3242 /core/java/android/util/SparseArrayMap.java | |
| parent | 98ec23dc04e0ee08d6c3536ddae7d420c6cb2dab (diff) | |
Get fresh InProgress array in AttributedAppOp when adding/removing
Otherwise, a call to finish() and then start() might reallocate the
array, and cause the reference to point to the old location of the
array.
Fixes: 208662370
Test: atest ForegroundModeAndActiveTest
Change-Id: I7e754c067520765c00cc67cc310926e63bd0462d
Merged-In: I7e754c067520765c00cc67cc310926e63bd0462d
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
