summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2022-04-23 02:56:30 +0100
committer Michael Wright <michaelwr@google.com> 2022-05-31 02:10:47 +0000
commit83097c6db4a5349ceaa49ee3da0b0e56e549dfc5 (patch)
tree5070a7c09282f35016f559fc0abd48c0107338ca /libs/androidfw/Util.cpp
parentd59d17d74a8fe4addaedd2fe31bf2329bc0136c3 (diff)
Invoke BrightnessSetting callbacks even with identical brightness.
Even if the brightness is the same we still need to invoke any listeners as just the act of setting the brightness has side effects, like clearing the temporary brightness. Skipping these callbacks mean we can possibly get stuck in a state where we don't adjust the brightness at all until the next time a user touches the brightness slider -- this persists even through screen off. Fixes: 218600709 Test: Manual Change-Id: I918636a61424a51f9d22d32fd692beb6eb2b8f2d
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions