Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +3 −0 Original line number Diff line number Diff line Loading @@ -4475,6 +4475,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, animateCollapsePanels(); return true; } if (mKeyguardUserSwitcher.hideIfNotSimple(true)) { return true; } return false; } Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java +6 −3 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ public class KeyguardUserSwitcher { } } private void hide(boolean animate) { private boolean hide(boolean animate) { if (mUserSwitcher != null && mUserSwitcherContainer.getVisibility() == View.VISIBLE) { cancelAnimations(); if (animate) { Loading @@ -137,7 +137,9 @@ public class KeyguardUserSwitcher { mUserSwitcherContainer.setVisibility(View.GONE); } mStatusBarView.setKeyguardUserSwitcherShowing(false, animate); return true; } return false; } private void cancelAnimations() { Loading Loading @@ -223,10 +225,11 @@ public class KeyguardUserSwitcher { } } public void hideIfNotSimple(boolean animate) { public boolean hideIfNotSimple(boolean animate) { if (mUserSwitcherContainer != null && !mUserSwitcherController.isSimpleUserSwitcher()) { hide(animate); return hide(animate); } return false; } boolean isAnimating() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +3 −0 Original line number Diff line number Diff line Loading @@ -4475,6 +4475,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, animateCollapsePanels(); return true; } if (mKeyguardUserSwitcher.hideIfNotSimple(true)) { return true; } return false; } Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java +6 −3 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ public class KeyguardUserSwitcher { } } private void hide(boolean animate) { private boolean hide(boolean animate) { if (mUserSwitcher != null && mUserSwitcherContainer.getVisibility() == View.VISIBLE) { cancelAnimations(); if (animate) { Loading @@ -137,7 +137,9 @@ public class KeyguardUserSwitcher { mUserSwitcherContainer.setVisibility(View.GONE); } mStatusBarView.setKeyguardUserSwitcherShowing(false, animate); return true; } return false; } private void cancelAnimations() { Loading Loading @@ -223,10 +225,11 @@ public class KeyguardUserSwitcher { } } public void hideIfNotSimple(boolean animate) { public boolean hideIfNotSimple(boolean animate) { if (mUserSwitcherContainer != null && !mUserSwitcherController.isSimpleUserSwitcher()) { hide(animate); return hide(animate); } return false; } boolean isAnimating() { Loading