summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDan Gittik <dangittik@google.com>2018-07-13 15:10:39 +0100
committerArchit Srivastava <archsriv@codeaurora.org>2019-02-22 15:24:41 +0530
commit44d05ec04d9e93c6db978a12ed8de4f9003d8346 (patch)
treef92e5e5335458f942bdf3d9dec7b6349e3e40e27 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0ad9c120bacdcf7898a663686366055e9af53c83 (diff)
Fixed auto-brightness first screen update.
When auto-brightness is enabled, it should update the screen as soon as ALS data is available; however, if that data results in the same screen brightness as before, this update is optimised away, even though it should be applied (in case the actual screen brightness did change, e.g. by a user who turned adaptive brightness off). Test: Turn adaptive brightness off; set the screen brightness to 0; turn adaptive brightness on again (do so several times). Before the fix, it would often take a while for the screen to brighten (because similar ALS data results in the same screen brightness as before, an thus no update is issued). After the fix, it should brighten immediately. Fixes: 111381286 (cherry picked from commit f387dd7188f74869f28a9c01d19cff22906c51f2) Change-Id: If68765281587db887b81e2774c87e81547955b2b CRs-Fixed: 2403457
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions