summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Li Li <dualli@google.com> 2024-02-13 11:49:07 -0800
committer Li Li <dualli@google.com> 2024-02-13 11:49:07 -0800
commitf92de2f6dbd107840768bd637f8394dc31abfa17 (patch)
treec743db615c282a738e7c8bc204b42d3cc89bee66 /libs/androidfw/StringPool.cpp
parent6139d58767f26552c9ae12a5893e01e180d78041 (diff)
Fix lock contention in CAO.binderError handler
CAO.binderError handler already has a local copy of frozen pids. It's not necessary to hold Freezer lock. Holding the Freezer lock here actually causes lock contention as the CAO thread might be preempted for multiple seconds, blocking unfreeze operations in freezeHandler. Bug: 323393888 Test: frozen apps receiving unexpected binder transactions can be killed Change-Id: I8d6f1b2327dae76b61ef6f4d7f39d66a85f313f1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions