Don't keep sensor listener while screen is off.
Register / unregister on screen off / on intents. Bug: 69564178 Test: runtest -c com.android.server.display.BrightnessTrackerTest frameworks-service Test: manual, turn on/off screen and check adb shell dumpsys sensorservice Change-Id: I7bfb6b35108887baf40d9134d16d13a9f5aa839f
Loading
Please register or sign in to comment