diff options
author | Roman Birg <roman@cyngn.com> | 2016-05-25 11:10:55 -0700 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2016-05-25 11:10:55 -0700 |
commit | 9b2e90cb5154333dd4da89379bba109afa64f4be (patch) | |
tree | e39b4c39d664522c9b22c888af55762265fac7c4 /packages/SystemUI | |
parent | 2ca88f66521ac410d070b4fb82792a0512ba5044 (diff) | |
download | frameworks_base-9b2e90cb5154333dd4da89379bba109afa64f4be.zip frameworks_base-9b2e90cb5154333dd4da89379bba109afa64f4be.tar.gz frameworks_base-9b2e90cb5154333dd4da89379bba109afa64f4be.tar.bz2 |
SystemUI: fix qs pulldown on certain themes
Some themes define the peek height as 0, we should respect that and
allow the QS pulldown to still work.
Ticket: CYNGNOS-2756
Change-Id: I0404974a23ef41f4689c38ab86e3f09c4bb150ab
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 936fcca..390fb1e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java @@ -1087,7 +1087,7 @@ public class NotificationPanelView extends PanelView implements } if (mTwoFingerQsExpandPossible && isOpenQsEvent(event) && event.getY(event.getActionIndex()) < mStatusBarMinHeight - && mExpandedHeight < mQsPeekHeight) { + && mExpandedHeight <= mQsPeekHeight) { MetricsLogger.count(mContext, COUNTER_PANEL_OPEN_QS, 1); mQsExpandImmediate = true; requestPanelHeightUpdate(); |