summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Santos Cordon <santoscordon@google.com> 2024-05-25 01:02:19 +0000
committer Rupesh Bansal <brup@google.com> 2024-05-29 12:36:39 +0000
commita8c72597f8e12b7ad1b97376800837a3b7992dd7 (patch)
tree4aaeaa14d3e1c24bffee458b3a89d548bdb28f93 /libs/androidfw/StringPool.cpp
parentf60aa4164d9210830bd0c7b681c91ddd3a0cb008 (diff)
Offload Doze Override should trigger suspend blocker
Unlike most display-state-changes, Offload state changes are not triggered by a PowerRequest. Because of this PowerManager isn't aware of the change and doesn't attempt to keep the device awake. As a result, offload transitions sometimes went into suspend before they were complete, preventing offload from running when it should. This change adds a suspend blocker to offload doze override requests, and notifies PowerManager when it's processing a change. Test: atest com.android.server.display Bug: 336599466 Change-Id: Ib9a6eeeeb3bc0c2c66ac02dff1aec61203e6b04c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions