Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81ab9b95 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Only animate user list if there's multiple users" into sc-v2-dev am: 4417daea

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15749010

Change-Id: I7a6c27ae01683028bc9dbcc4c02c01aea275216d
parents 10b84806 4417daea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ public class KeyguardUserSwitcherListView extends AlphaOptimizedLinearLayout {
            }
        }

        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.