commit | b688bf7ceb0b3a02ad761d98940b6afc01b5e399 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon Jun 16 16:36:51 2014 -0700 |
committer | Selim Cinek <cinek@google.com> | Mon Jun 16 16:36:51 2014 -0700 |
tree | a5301d6702ffab108cb7e0bfaeacab4c40d40e04 | |
parent | 56a78265bff987b715e6bd1aad087d52e255a4e7 [diff] [blame] |
Fixed a bug where the device could not be unlocked. When the Notifications could be scrolled, the shade could not be closed. Bug: 15643474 Change-Id: I59b9f55c0290da7683ce7fd40effc4b5413e4267
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 34179cb..dde95bf 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -688,6 +688,9 @@ @Override protected boolean isScrolledToBottom() { + if (mStatusBar.getBarState() == StatusBarState.KEYGUARD) { + return true; + } if (!isInSettings()) { return mNotificationStackScroller.isScrolledToBottom(); }