Skip to content
Commit 3ad58186 authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

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
parent dd887408
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment