diff options
| author | 2021-09-13 15:29:52 +0100 | |
|---|---|---|
| committer | 2021-09-13 15:29:52 +0100 | |
| commit | 265518c7b0960e523ad5ca85ca657ce4aea17f83 (patch) | |
| tree | daa55e169a118ccf47a0f430bd0ca0292d086bb3 | |
| parent | 61246e7f0051758289a7423984a0b19a42f9c7c3 (diff) | |
Fixing customizer scroll in collapsed split shade
"mQsFullyExpanded" in the check "mQsFullyExpanded && mQs.disallowPanelTouches()" is redundant as disallowPanelTouches() really checks if customizer or tile detail are visible. Normally, they can be visible only when QS is expanded. The only exception is split shade, when both customizer and detail can be visible without expanding QS and in that case requiring "mQsFullyExpanded" to be true is incorrect condition, that's why it should be removed.
Bug: 196805282
Test: expand split shade but don't expand QS -> click "edit tiles" button -> try to scroll tiles
Change-Id: Ifb5fb792e0580bdf2533b3e04afc233e3eb4c27b
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java index 198ad98b8a37..cae85ce10358 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -3760,7 +3760,7 @@ public class NotificationPanelViewController extends PanelViewController { return new TouchHandler() { @Override public boolean onInterceptTouchEvent(MotionEvent event) { - if (mBlockTouches || mQsFullyExpanded && mQs.disallowPanelTouches()) { + if (mBlockTouches || mQs.disallowPanelTouches()) { return false; } initDownStates(event); |