summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2022-12-07 00:16:25 +0000
committer Rupesh Bansal <brup@google.com> 2022-12-14 19:22:59 +0000
commitd7367c39c48b5a05482b49dbc5c67f8920f9aff6 (patch)
tree88597d6aa051ee7b0c5e87e5fda44cd789e155fa /libs/androidfw/StringPool.cpp
parent4ee9f703bbc2800b8cefdbaba2adfd845f791509 (diff)
Sleep softly on device close.
Add a new flag GO_TO_SLEEP_FLAG_SOFT_SLEEP. When set, this sleeps the device only if its user activity keeping it awake. If its otherwise staying awake because an application is holding a wakelock, then the device continues to stay awake. Bug: 260705307 Test: atest PowerManagerServiceTest Test: manual Change-Id: I08b6dacf418d927b4f86816b1b6d19965e68556a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions