commit | 2c25dc37ee7173e0d0f732b78d399b79d4fad5b5 | [log] [tgz] |
---|---|---|
author | Peter Kalauskas <peskal@google.com> | Fri Sep 17 16:39:03 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Sep 17 16:39:03 2021 +0000 |
tree | c3d560954a804a4625f2ca215a92cbbb4166b3b9 | |
parent | d9ba2df119897fae6bca046b0b6b6bc82122d5d9 [diff] | |
parent | ad63aa3dc9fd71df87941720b211ca4ce8e0106f [diff] |
Merge "Only animate user list if there's multiple users" into sc-qpr1-dev
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcherListView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcherListView.java index 20b66f0..cd8894c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcherListView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcherListView.java
@@ -103,7 +103,7 @@ } } - if (animate) { + if (animate && userItemViews.length > 1) { // AnimationUtils will immediately hide/show the first item in the array. Since the // first view is the current user, we want to manage its visibility separately. // Set first item to null so AnimationUtils ignores it.