summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2024-02-23 13:18:30 +0100
committer Jernej Virag <jernej@google.com> 2024-02-28 12:11:32 +0100
commit8d4858d207e0d8ba899be29e6d222811c69bf03b (patch)
tree22f0b7d0a05d89c0bf4d91bd661401d79bbdeb76 /libs/androidfw/ZipFileRO.cpp
parenteee2b438db0aec168b419dcb0342edc65dd5c985 (diff)
Make WakeLock handling thread safe
We have an implementation of a wakelock which reference counts requestors - however, the implementation is not thread safe. This commit: 1. Makes the implementation thread safe 2. Retroactively flag guards the use of WakeLocks on background thread from previous commit. 3. Slightly improves logging so we don't churn strings if logging is disabled. Bug:326544949 Bug:316128516 Test: newly added and existing unit tests Flag: ACONFIG com.android.systemui.flags.DELAYED_WAKELOCK_RELEASE_ON_BACKGROUND_THREAD DISABLED Change-Id: I9ce86fdd69fdae9f88b5e06f5b85836fb4f9aa5e
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions