commit | 2d1ef3012c98c07877816f3587514cca98609550 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Fri Oct 24 18:42:51 2014 +0200 |
committer | Adrian Roos <roosa@google.com> | Tue Oct 28 17:46:03 2014 +0100 |
tree | 6d2d12f3806d2c58dd48cdcef25533cdcaab7e15 | |
parent | 5b820a8aa1a200824e44aede6bc1e381a6d69dd5 [diff] |
Close keyguard user switcher on tap outside Also closes when tapping the current user. Also fixes a bug, where the background alpha was not properly initialized. And while we're at it, fixes a bug where the user switcher was closable in simple mode by extending quick settings. Bug: 17691134 Change-Id: I5444fe42a8a2887ab012ef6cbdcc57ba81a8c1c2
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index c19bdff..bc2196a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1012,7 +1012,7 @@ ? View.VISIBLE : View.INVISIBLE); if (mKeyguardUserSwitcher != null && mQsExpanded && !mStackScrollerOverscrolling) { - mKeyguardUserSwitcher.hide(true /* animate */); + mKeyguardUserSwitcher.hideIfNotSimple(true /* animate */); } }