Making SysUiState's QS expansion flag require shade expansion
The comment for the flag suggests that this should have been in there already. This is a possible fix for b/246273793 if there is a scenario where the shade is collapsed but the QS expansion flag somehow remained set to true. Bug: 246273793 Test: ran atest and manually verified shade CUJs Change-Id: I5867aae1ed2b1094e09d9abb7d6edc2e2a3714f8
This commit is contained in:
@@ -4407,7 +4407,7 @@ public final class NotificationPanelViewController extends PanelViewController {
|
||||
}
|
||||
mSysUiState.setFlag(SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED,
|
||||
isFullyExpanded() && !isInSettings())
|
||||
.setFlag(SYSUI_STATE_QUICK_SETTINGS_EXPANDED, isInSettings())
|
||||
.setFlag(SYSUI_STATE_QUICK_SETTINGS_EXPANDED, isFullyExpanded() && isInSettings())
|
||||
.commitUpdate(mDisplayId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user