| commit | 144aac9dfeb4e3f48af874b438a84261202affe1 | [log] [tgz] |
|---|---|---|
| author | Michael Wright <michaelwr@google.com> | Thu Dec 21 18:37:41 2017 +0000 |
| committer | Michael Wright <michaelwr@google.com> | Tue Jan 02 20:13:28 2018 +0000 |
| tree | 996c41c8e59c0c47804b2d6664a677bb624fab91 | |
| parent | 8134c9040ead457ed975f7888f763a1e39a7a2ea [diff] |
Track brightness changes in nits rather than backlight values.
For the moment, the only one that actually knows the true brightness
value is the DisplayPowerController, so have that tell the
BrightnessTracker directly when brightness changes.
Bug: 69405990
Test: atest com.android.server.display.BrightnessTrackerTest
atest com.android.server.display.BrightnessMappingStrategyTest
Change-Id: Ibf4e501ce2f7b071360bfac501dbbafb3ba55fa5