summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2024-07-01 15:54:02 +0000
committer Rupesh Bansal <brup@google.com> 2024-08-15 12:53:35 +0000
commit799160281abef30e4f195e3e43ed4f3d67751469 (patch)
treea28ff4cc8952e85322317718e94b5956102ad454 /libs/androidfw/StringPool.cpp
parentf4c52eaba53742a2addf481b72a2134a079a7c3b (diff)
Fix delayed offload session start issue
This fixes the issue where there was a lag between the request to start the offload session, and when actually it starts. We are fixing this by acquiring the wakelock when the request comes in, and release it only when power state transformation is confirmed. This CL was originally merged and then reverted(ag/28127686) because the case of DISPLAY.STATE_UNKNOWN was not handled. To start the watchface, wear transitions the control to AP(For which they override the doze display state to DISPLAY.STATE_UNKNOWN), the transition occurs and the display state is again overridden to give the control back to MCU. This specific workflow was broken, which is now being handled. Additionally, we were not processing the new request if the old request to override the dozescreen state was already under process. This behaviour is now changed to always process the latest requested doze overridding request. Bug: 343987330 Flag: com.android.server.display.feature.flags.offload_doze_override_holds_wakelock Test: Manual Test: atest DisplayPowerControllerTest Change-Id: Iab8bce49f26cb25c9c00f0645d15c3c049d2a08d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions