summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewControllerTest.kt3
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java1
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewControllerTest.kt b/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewControllerTest.kt
index b815c6ce0c51..92318b9820b8 100644
--- a/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewControllerTest.kt
+++ b/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewControllerTest.kt
@@ -560,7 +560,6 @@ class KeyguardStatusBarViewControllerTest : SysuiTestCase() {
updateStateToKeyguard()
controller.setDozing(true)
- controller.updateViewState()
Truth.assertThat(keyguardStatusBarView.visibility).isEqualTo(View.INVISIBLE)
}
@@ -573,7 +572,6 @@ class KeyguardStatusBarViewControllerTest : SysuiTestCase() {
updateStateToKeyguard()
controller.setDozing(false)
- controller.updateViewState()
Truth.assertThat(keyguardStatusBarView.visibility).isEqualTo(View.VISIBLE)
}
@@ -633,7 +631,6 @@ class KeyguardStatusBarViewControllerTest : SysuiTestCase() {
Truth.assertThat(keyguardStatusBarView.visibility).isEqualTo(View.VISIBLE)
controller.setDozing(true)
- controller.updateViewState()
// setDozing(true) should typically cause the view to hide. But since the flag is on, we
// should ignore these set dozing calls and stay the same visibility.
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java
index 2433b78fc183..6028f1727f52 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java
@@ -528,6 +528,7 @@ public class KeyguardStatusBarViewController extends ViewController<KeyguardStat
return;
}
mDozing = dozing;
+ updateViewState();
}
/** Animate the keyguard status bar in. */