diff options
| author | 2018-01-25 22:20:54 +0000 | |
|---|---|---|
| committer | 2018-01-26 23:04:46 +0000 | |
| commit | 617564ff2cdee2e9a50339544129283503ae71a8 (patch) | |
| tree | 3dd0c63c033cfd38e12a7b240aedf70d1dd4e52b /libs/hwui/ProgramCache.cpp | |
| parent | d55e3e7574863ec85dedc6d9a248ec23a3b22e49 (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
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions