Merge "Making sure collapseOrExpandedQs doesn't do anything in split shade" into tm-qpr-dev

This commit is contained in:
Michał Brzeziński
2023-02-20 14:11:36 +00:00
committed by Android (Google) Code Review

View File

@@ -1378,6 +1378,9 @@ public class QuickSettingsController {
} }
private void collapseOrExpandQs() { private void collapseOrExpandQs() {
if (mSplitShadeEnabled) {
return; // QS is always expanded in split shade
}
onExpansionStarted(); onExpansionStarted();
if (getExpanded()) { if (getExpanded()) {
flingQs(0, FLING_COLLAPSE, null, true); flingQs(0, FLING_COLLAPSE, null, true);