summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Will Leshner <wleshner@google.com> 2023-06-06 10:33:48 -0700
committer Will Leshner <wleshner@google.com> 2023-06-06 14:26:27 -0700
commit9c486ed4fcd2bc28bb009be8b4d80fed6c6532cd (patch)
treee47c9f74d221ab7223f3a3bf30ee9dbe530b5f36 /libs/androidfw/FileStream.cpp
parent94e4aeef4659315562fad7bc7d4879575211d398 (diff)
Fix screen not turning off on power button press.
If Bedtime is active and the "Keep the screen dark" option is enabled, then the device shouldn't dream and tapping power button should turn the screen off but didn't. This change fixes that issue. Bug: 284857728 Test: Manually by enabling bedtime and the "keep screen dark" option and then tapping power button to verify the screen turns off. Also, if bedtime is disabled (or "keep screen dark" is disabled), then power button should continue to start dreaming. Change-Id: I5db541c5c2e52c58d773822bb7404704516cbb28
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions