summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2018-06-04 17:09:41 -0700
committerLucas Dupin <dupin@google.com>2018-06-04 17:09:41 -0700
commitc4c541d7c6adb90014575182996fa17f234a479c (patch)
tree682d2627dbe4c70d20c29a6db6f93a8fb1e0cb53 /packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
parent15ebbeb9fdbf91efcdf0b85c5e7a2c1f449803ea (diff)
Always cancel clock animation
We could end up presenting the wrong state if a non-animated layout arrives while we're still animating. Bug: 109678321 Bug: 86710763 Test: manual, change active users repeatedly Change-Id: I63a73e966c5e7bcfec89e6e4d5f7fc9ce35dfa80
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
index bb05caa0739c..67bdd216b13b 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
@@ -328,7 +328,7 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe
}
public boolean hasHeader() {
- return mTitle.getVisibility() == VISIBLE;
+ return mHasHeader;
}
/**