summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java
diff options
context:
space:
mode:
authorWesley.CW Wang <wesleycwwang@google.com>2020-04-14 17:58:35 +0800
committerWesley.CW Wang <wesleycwwang@google.com>2020-04-15 18:29:57 +0800
commitf5aff61c928df13e05dd6a7d8e566285a38ef89f (patch)
treeec3bda6f017eb67d28246cf276fce861197c6a87 /packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java
parentde8205a22a81537480ad2887a63fdf6799d9dbe9 (diff)
Hide big clock when smart space appears
- Add new method to KeyguardClockSwitch and check it when slice changed - Check hasHeader value when updating big clock visibility Bug: 153692869 Test: atest KeyguardClockSwitchTest and manually Change-Id: Id761558224e56ea2b1ea38578be59f17a6b06247
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java
index a181ce4b000a..9216973660ce 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java
@@ -245,6 +245,8 @@ public class KeyguardStatusView extends GridLayout implements
params.bottomMargin);
mNotificationIcons.setLayoutParams(params);
}
+
+ mClockView.setKeyguardHidingBigClock(hasHeader);
}
@Override