diff options
| author | 2023-02-16 17:19:26 +0000 | |
|---|---|---|
| committer | 2023-02-16 17:19:26 +0000 | |
| commit | af72822d9052b6017bc3b97d501aacb8d7b019cc (patch) | |
| tree | cf9e30f1b712f48cc34c5d31512d75c15dc77c51 | |
| parent | e8b7907312f27248d3b7f9329ce1014038d7e898 (diff) | |
Making sure collapseOrExpandedQs doesn't do anything in split shade
This is actually never called in split shade anymore - it was only used by accessibility action in QS which was removed for split shade in ag/21447326.
This extra check is to prevent the regression happening in the future.
Bug: 269462512
Test: presubmit
Change-Id: Ib1472531c12aa667530f0c4cc407b22a798d7203
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java b/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java index c0ef4c1a872a..6bf73dcfaac0 100644 --- a/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java +++ b/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java @@ -1377,6 +1377,9 @@ public class QuickSettingsController { } private void collapseOrExpandQs() { + if (mSplitShadeEnabled) { + return; // QS is always expanded in split shade + } onExpansionStarted(); if (getExpanded()) { flingQs(0, FLING_COLLAPSE, null, true); |