diff options
author | Michael Wright <michaelwr@google.com> | 2018-01-25 22:20:54 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-27 00:04:17 +0000 |
commit | bdd11af109c633feca2b86d3c3155ea5c2195635 (patch) | |
tree | 64cc2b16c5778d2f850a3847a736ab73d3177d6c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d5d4f60c835e5e92e7b766e946c330d1c006847d (diff) |
Reset brightness adjustment when user sets brightness directly.
If the user has a non-zero brightness adjustment then short-term model
returns an incorrect value after they make a direct change to the
brightness with auto-brightness on, which then looks like the
auto-brightness is ignoring their input. To avoid this , if they're
making a direct change to auto-brightness go ahead and reset the
brightness adjustment.
Change-Id: I257a6ecc7ca3df0e610710df19d81a65b009af45
Fixes: 72506596
Test: manual
(cherry picked from commit 617564ff2cdee2e9a50339544129283503ae71a8)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions