Loading packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +4 −2 Original line number Diff line number Diff line Loading @@ -327,7 +327,9 @@ public class KeyguardIndicationController { private void updateOrganizedOwnedDevice() { // avoid calling this method since it has an IPC mOrganizationOwnedDevice = whitelistIpcs(this::isOrganizationOwnedDevice); updatePersistentIndications(false, KeyguardUpdateMonitor.getCurrentUser()); if (!mDozing) { updateDisclosure(); } } private void updateDisclosure() { Loading Loading @@ -1185,7 +1187,7 @@ public class KeyguardIndicationController { mTopIndicationView.clearMessages(); mRotateTextViewController.clearMessages(); } else { updatePersistentIndications(false, KeyguardUpdateMonitor.getCurrentUser()); updateIndication(false); } } }; Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/KeyguardIndicationControllerTest.java +4 −1 Original line number Diff line number Diff line Loading @@ -779,8 +779,11 @@ public class KeyguardIndicationControllerTest extends SysuiTestCase { public void testOnKeyguardShowingChanged_showing_updatesPersistentMessages() { createController(); // GIVEN keyguard is showing // GIVEN keyguard is showing and not dozing when(mKeyguardStateController.isShowing()).thenReturn(true); mController.setVisible(true); mExecutor.runAllReady(); reset(mRotateTextViewController); // WHEN keyguard showing changed called mKeyguardStateControllerCallback.onKeyguardShowingChanged(); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +4 −2 Original line number Diff line number Diff line Loading @@ -327,7 +327,9 @@ public class KeyguardIndicationController { private void updateOrganizedOwnedDevice() { // avoid calling this method since it has an IPC mOrganizationOwnedDevice = whitelistIpcs(this::isOrganizationOwnedDevice); updatePersistentIndications(false, KeyguardUpdateMonitor.getCurrentUser()); if (!mDozing) { updateDisclosure(); } } private void updateDisclosure() { Loading Loading @@ -1185,7 +1187,7 @@ public class KeyguardIndicationController { mTopIndicationView.clearMessages(); mRotateTextViewController.clearMessages(); } else { updatePersistentIndications(false, KeyguardUpdateMonitor.getCurrentUser()); updateIndication(false); } } }; Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/KeyguardIndicationControllerTest.java +4 −1 Original line number Diff line number Diff line Loading @@ -779,8 +779,11 @@ public class KeyguardIndicationControllerTest extends SysuiTestCase { public void testOnKeyguardShowingChanged_showing_updatesPersistentMessages() { createController(); // GIVEN keyguard is showing // GIVEN keyguard is showing and not dozing when(mKeyguardStateController.isShowing()).thenReturn(true); mController.setVisible(true); mExecutor.runAllReady(); reset(mRotateTextViewController); // WHEN keyguard showing changed called mKeyguardStateControllerCallback.onKeyguardShowingChanged(); Loading