+4
−11
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The test in question would pass only when the device was not charging, because the KeyguardIndicationController registers itself with the KeyguardUpdateMonitor and shows indications when the device starts charging. Fixed by not registering the controller with the KeyguardUpdateMonitor and instead driving the controller's callback directly. Change-Id: I6828a97a36572be9e7520ce9a82afddf474d4008 Fixes: 36211361 Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/KeyguardIndicationControllerTest.java -m transientIndication_releasesWakeLock_afterHidingDelayed