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
This commit is contained in:
Michal Brzezinski
2023-02-16 17:19:26 +00:00
parent e8b7907312
commit af72822d90

View File

@@ -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);