summaryrefslogtreecommitdiff
path: root/libs/hwui/ProfileData.cpp
diff options
context:
space:
mode:
author lijilou <lijilou@xiaomi.corp-partner.google.com> 2024-05-24 20:28:15 +0800
committer Jilou li <lijilou@xiaomi.corp-partner.google.com> 2024-05-29 04:37:45 +0000
commita8e15e02883553a490785f2b06d4b2f1286dc872 (patch)
treedfa61a4aeed1d4f08df89ba842f9f43ebfc5eeac /libs/hwui/ProfileData.cpp
parenteacb2c6312c7b7419b0572d3cca655861ad4a503 (diff)
JobSchedulerService:fix arrayIndexOutOfBoundsException to aviod
systemServer crash. As can be seen from the AOSP code, the set collection mTrackedTasks is accessed under mLock, but there is no mLock lock in the reportNewIdleState function. Therefore, we should put onControllerStateChanged into the mLock lock for execution, just like all other Controllers calling this method with mLock, there is no risk of deadlock. Test: OEM monkey test Bug: 342554438 Change-Id: I596defa8ca018a7161cd149a54a029f6adb96937
Diffstat (limited to 'libs/hwui/ProfileData.cpp')
0 files changed, 0 insertions, 0 deletions