diff options
| author | 2023-02-24 15:53:36 +0000 | |
|---|---|---|
| committer | 2023-03-10 13:48:03 +0000 | |
| commit | 3ad58186022a8ed919c9c68a9b18bab3af7c3632 (patch) | |
| tree | c3ec903093b415e18c5f4c1f9fe1e7e33461014e /api/api.go | |
| parent | dd887408f243f8048d25b76378ce3146688b71ec (diff) | |
Don't overlog BrightnessEvents
- values for mTempBrightnessEvent should be set before comparing it to the last event
- don't compare initialBrightness - it's the last brightness so comparing it will mean that we log every brightness change twice
Bug: 268532189
Test: adb logcat | grep -i "brightnessEvent"
Change-Id: Ibc57fea4a6ae32e082b7d0873ad63aebc6f92ae2
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions