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

Commit 252b4370 authored by Chris Göllner's avatar Chris Göllner
Browse files

CentralSurfacesImpl#onStatusBarWindowStateChanged check for correct flag

Before, this refactor was behind status_bar_simple_fragment, but now it
is behind status_bar_connected_displays.

Test: CentralSurfacesImplTest
Bug: 362720336
Flag: com.android.systemui.status_bar_connected_displays
Change-Id: Ibcbb543de14666cbad86b27c99a5cca1090a8d1a
parent d4701989
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -295,7 +295,7 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
            };

    void onStatusBarWindowStateChanged(@WindowVisibleState int state) {
        StatusBarSimpleFragment.assertInLegacyMode();
        StatusBarConnectedDisplays.assertInLegacyMode();
        mStatusBarWindowState = state;
        updateBubblesVisibility();
    }