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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user