summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2021-10-04 15:23:59 -0400
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2021-10-13 22:11:46 +0000
commitb591b3ebec4886e9c1c2219a6c0e9fd3e1ac63ee (patch)
tree6007c11280d5198f9808344377edb19e5003bf84 /libs/androidfw/StringPool.cpp
parent6a42a6f5abac5518a74fdb9bd86bbca6943811d7 (diff)
[DO NOT MERGE] Improve brightness handling during screen off timeout.
- Align doze brightness logic with DisplayPowerController, so that the 'minimum dim amount' is taken into account by DozeScreenBrightness. - Clamp brightness to the now-correct dim value during the entire screen off animation, rather than sometimes transitioning to the sensor value. Apply the sensor brightness value on changing to the DOZE Display state, which happens after the screen off animation. Bug: 194972547 Test: at 0%, 45%, and 100% brightness, allow the screen to time out in bright and dark rooms, observe minimal brightness changes Change-Id: I528a944e04f8906cd8c7740eea97dd8fba7c3d3e (cherry picked from commit 2c26ea64bc74c7c75e3f65bd9e8cebd6494571d5)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions