Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13d1bfe3 authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Flexiglass: don't log misleading status bar state error

We don't actually set `StatusBarStateController.upcomingState` when
Flexi is enabled, so don't log an error based on the value of
`upcomingState`.

Bug: 359530769
Test: manual, enable flexi and navigate around
Flag: com.android.systemui.scene_container
Change-Id: Iac5ef348ee37f6d0db23eee805f5ebefb54ffd8d
parent b3820ebb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ public class StatusBarStateControllerImpl implements
     * Updates the {@link StatusBarState} and notifies registered listeners, if needed.
     */
    private void updateStateAndNotifyListeners(int state) {
        if (state != mUpcomingState) {
        if (state != mUpcomingState && !SceneContainerFlag.isEnabled()) {
            Log.d(TAG, "setState: requested state " + StatusBarState.toString(state)
                    + "!= upcomingState: " + StatusBarState.toString(mUpcomingState) + ". "
                    + "This usually means the status bar state transition was interrupted before "