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

Commit 35cd667d authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Add flag to disallow presentation on unfocused host task

Flag: com.android.window.flags.enable_presentation_disallowed_on_unfocused_host_task
Bug: 435586251
Test: m
Change-Id: Ib446e6acb5b77d75d7666b0935fe76b3b0ffefdb
parent 89cd76d3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -233,6 +233,9 @@ public enum DesktopExperienceFlags {
    ENABLE_PIP_PARAMS_UPDATE_NOTIFICATION_BUGFIX(
            Flags::enablePipParamsUpdateNotificationBugfix, false,
            Flags.FLAG_ENABLE_PIP_PARAMS_UPDATE_NOTIFICATION_BUGFIX),
    ENABLE_PRESENTATION_DISALLOWED_ON_UNFOCUSED_HOST_TASK(
            Flags::enablePresentationDisallowedOnUnfocusedHostTask, false,
            Flags.FLAG_ENABLE_PRESENTATION_DISALLOWED_ON_UNFOCUSED_HOST_TASK),
    ENABLE_PRESENTATION_FOR_CONNECTED_DISPLAYS(Flags::enablePresentationForConnectedDisplays, true,
            Flags.FLAG_ENABLE_PRESENTATION_FOR_CONNECTED_DISPLAYS),
    ENABLE_PROJECTED_DISPLAY_DESKTOP_MODE(Flags::enableProjectedDisplayDesktopMode, true,
+10 −0
Original line number Diff line number Diff line
@@ -1210,6 +1210,16 @@ flag {
    }
}

flag {
    name: "enable_presentation_disallowed_on_unfocused_host_task"
    namespace: "lse_desktop_experience"
    description: "Disallows presentations from being shown on their unfocused host tasks."
    bug: "435586251"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_presentation_for_connected_displays"
    namespace: "lse_desktop_experience"