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

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

[1/n] Add preserveRecentsTaskConfigurationOnRelaunch flag

Flag: com.android.window.flags.preserve_recents_task_configuration_on_relaunch
Test: m
Bug: 405141594
Change-Id: I2e678225e5e735c0d5c98f030a63c2f619a255dc
parent 066cebf8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -149,6 +149,8 @@ public enum DesktopModeFlags {
            Flags::includeTopTransparentFullscreenTaskInDesktopHeuristic, true),
    INHERIT_TASK_BOUNDS_FOR_TRAMPOLINE_TASK_LAUNCHES(
            Flags::inheritTaskBoundsForTrampolineTaskLaunches, true),
    PRESERVE_RECENTS_TASK_CONFIGURATION_ON_RELAUNCH(
            Flags::preserveRecentsTaskConfigurationOnRelaunch, false),
    SKIP_DECOR_VIEW_RELAYOUT_WHEN_CLOSING_BUGFIX(
            Flags::skipDecorViewRelayoutWhenClosingBugfix, true),
    // go/keep-sorted end
+11 −0
Original line number Diff line number Diff line
@@ -37,6 +37,17 @@ flag {
    }
}

flag {
    name: "preserve_recents_task_configuration_on_relaunch"
    namespace: "lse_desktop_experience"
    description: "Preserve the orientation and aspect ratio of task if it was previously in /n"
                 "recents with a running activity."
    bug: "405141594"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

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