commit | 4f0f4570ed356ef2e26c1bc331a817c156bdb62d | [log] [tgz] |
---|---|---|
author | Adrian Salido <salidoa@google.com> | Tue Oct 30 10:39:27 2018 -0700 |
committer | Adrian Salido <salidoa@google.com> | Tue Oct 30 11:02:52 2018 -0700 |
tree | 22cac7122ae1ba64fac4c746c3263cf94b05efb8 | |
parent | adb49c0031055a8e8f5951d3bb4999df3883448f [diff] |
Allow debug hook even if there's no sensor registered Debug hook is useful even if sensor registration fails for any reason. Allow brightness override through debug hook even if there's no sensor registration. Bug: 116060647 Test: adb shell am broadcast -p com.android.systemui -a com.android.systemui.doze.AOD_BRIGHTNESS --ei brightness_bucket 2 Test: atest DozeScreenBrightnessTest Change-Id: I49f43af55aa9f9b95255795ac3a332d138cefa61