diff options
author | Robert Snoeberger <snoeberger@google.com> | 2019-06-13 14:12:10 -0400 |
---|---|---|
committer | Robert Snoeberger <snoeberger@google.com> | 2019-06-20 15:16:42 -0400 |
commit | 146ab3cc339a50c7eba79c5a4ff9b9980767406d (patch) | |
tree | dcb8af894fb19b07a70d493ef9ad674b6fffe3e4 /packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java | |
parent | e288f13f25527aad5ea4b64f5ff5aa4d410a8310 (diff) |
Remove the custom clock from LS during transition from AOD
Fixes: 132273216
Test: visual -- transition to AOD with notifications
Test: visual -- transition to AOD without notifications
Test: visual -- remove last notification on LS
Test: visual -- add notification on LS
Change-Id: I1c003a8930cc557e388e2263e4a4fa41b912998a
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java index e7923d87a582..37e89c095575 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java @@ -145,6 +145,13 @@ public class KeyguardStatusView extends GridLayout implements return mClockView.hasCustomClock(); } + /** + * Set whether or not the lock screen is showing notifications. + */ + public void setHasVisibleNotifications(boolean hasVisibleNotifications) { + mClockView.setHasVisibleNotifications(hasVisibleNotifications); + } + private void setEnableMarquee(boolean enabled) { if (DEBUG) Log.v(TAG, "Schedule setEnableMarquee: " + (enabled ? "Enable" : "Disable")); if (enabled) { |