diff options
| author | 2023-10-16 14:50:54 -0700 | |
|---|---|---|
| committer | 2023-10-24 11:53:24 -0700 | |
| commit | 1784919feaece918feb663a981b177b39e8aee7b (patch) | |
| tree | d4525bafb25c1b82d2020d1c3c0a386ff77cb04e /libs/androidfw/ApkParsing.cpp | |
| parent | 87256704ab665981463d3cdead8f4d76a1f9f777 (diff) | |
Stop global locking on session calls and UID state cache
Instead we lock on each session for its own operations, and check
session internal state instead of the global UID cache so they
don't block on each other for reports. Only the UidObserver will
interrupt and iterate all sessions for updates, but only lock one
session at a time.
Bug: 304839503
Test: atest HintManagerServiceTest
Change-Id: If18af5440f1d36a96854fe48f1bf280dde403a83
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions