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

Commit e09a818e authored by Pierre Barbier de Reuille's avatar Pierre Barbier de Reuille
Browse files

Use DesktopExperienceFlags in DisplayManagerFlags

Flags for the desktop experience that are defined and used in the
DisplayManager should still be enabled through the developer option.

Flag: EXEMPT (update flag architecture)
Test: Build, run and use dev option
Bug: 389092752
Change-Id: I8a17e5c051907fde1e53876d39a1cc9e6ae54c04
parent 48a6892d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class DisplayManagerFlags {

    private final FlagState mDisplayTopology = new FlagState(
            Flags.FLAG_DISPLAY_TOPOLOGY,
            Flags::displayTopology);
            DesktopExperienceFlags.DISPLAY_TOPOLOGY::isTrue);

    private final FlagState mConnectedDisplayErrorHandlingFlagState = new FlagState(
            Flags.FLAG_ENABLE_CONNECTED_DISPLAY_ERROR_HANDLING,
@@ -267,7 +267,7 @@ public class DisplayManagerFlags {

    private final FlagState mBaseDensityForExternalDisplays = new FlagState(
            Flags.FLAG_BASE_DENSITY_FOR_EXTERNAL_DISPLAYS,
            Flags::baseDensityForExternalDisplays
            DesktopExperienceFlags.BASE_DENSITY_FOR_EXTERNAL_DISPLAYS::isTrue
    );

    private final FlagState mFramerateOverrideTriggersRrCallbacks = new FlagState(