summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yifei Zhang <yfz@google.com> 2024-05-14 14:25:13 -0700
committer Yifei Zhang <yfz@google.com> 2024-05-15 17:04:55 +0000
commit8b670a3b278c16544262edcdf5bb34283913c380 (patch)
treec379f634b48be73f134a1536e98e14e84548e9ca /libs/androidfw/StringPool.cpp
parentc286eecc702025d873ea6fb0b3e58d5505202b2a (diff)
dpc: call updatePowerState instead of post to handler
- When overriding doze screen state, we are already on the same thread. - Running synchronous here makes it more predictable so that the caller can hold and release wake locks. Test: manual Bug: 336599466 Change-Id: I20cf9fb08422e32de318c441df3947f613885b0f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions