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

Commit 0001fe70 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

[0/n] Add flag for inheriting task bounds on trampoline task launch

Flag: EXEMPT Flag creation: com.android.window.flags.inherit_task_bounds_for_trampoline_task_launches
Bug: 392815318
Test: m
Change-Id: Ia2df70b1e28b30829a86a522101dce0d1d7506fa
parent 4a999fae
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -137,7 +137,9 @@ public enum DesktopModeFlags {
    IGNORE_ASPECT_RATIO_RESTRICTIONS_FOR_RESIZEABLE_FREEFORM_ACTIVITIES(
            Flags::ignoreAspectRatioRestrictionsForResizeableFreeformActivities, true),
    INCLUDE_TOP_TRANSPARENT_FULLSCREEN_TASK_IN_DESKTOP_HEURISTIC(
            Flags::includeTopTransparentFullscreenTaskInDesktopHeuristic, true)
            Flags::includeTopTransparentFullscreenTaskInDesktopHeuristic, true),
    INHERIT_TASK_BOUNDS_FOR_TRAMPOLINE_TASK_LAUNCHES(
            Flags::inheritTaskBoundsForTrampolineTaskLaunches, false),
    // go/keep-sorted end
    ;

+11 −0
Original line number Diff line number Diff line
@@ -26,6 +26,17 @@ flag {
    }
}

flag {
    name: "inherit_task_bounds_for_trampoline_task_launches"
    namespace: "lse_desktop_experience"
    description: "Forces trampoline task launches to inherit the bounds of the previous instance /n"
                 "before is closes to prevent each task from cascading."
    bug: "392815318"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "include_top_transparent_fullscreen_task_in_desktop_heuristic"
    namespace: "lse_desktop_experience"