summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Cliff Wu <cliffwu@google.com> 2022-10-14 13:46:25 +0800
committer Cliff Wu <cliffwu@google.com> 2022-10-26 07:07:33 +0000
commit25da3dcd998eee21e72912c934a1f3aec3c9b89d (patch)
tree24dbd9b8785d31b344d50538c4bb8db2ecaaad4b /libs/androidfw/StringPool.cpp
parent4489239d9ebd169b3dc1ea71cb40e540cbb555ed (diff)
Fix java.lang.ArrayIndexOutOfBoundsException at ArraySet in GenericWindowPolicyController.onRunningAppsChanged()
- Before iterating over mRunningAppsChangedListener, we need to confirm whether there is a listener in mRunningAppsChangedListener to avoid ArrayIndexOutOfBoundsException. - Use mGenericWindowPolicyControllerLock to protect mRunningAppsChangedListener access. Bug: 248192490 Test: Manual Change-Id: Iedd031f50659f027576086788392110a3432858a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions