summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2025-02-16 19:26:24 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2025-02-26 15:45:19 +0000
commitfed4c7c3bc8a54e172ce72e240b744751994c540 (patch)
tree504b75040822cbf8643284c53c275eadef5f831d /libs/androidfw/AssetManager.cpp
parented7232ed9c52b649ca7f4a67095c27f1e2787da1 (diff)
[1/n] Disable DesktopModeLaunchParamsModifier if not entering desktop
`DesktopModeLaunchParamsModifier` previously always ran regardless of if we were in/entering desktop. Although this did not cause any issue with fullscreen tasks, it causes problems with PIP and Bubble tasks as they all share the common variable `mLastNonFullscreenBounds`. Instead `DesktopModeLaunchParamsModifer` should only modify the launch params if we are in or entering desktop mode. We know we are in desktop mode if there are freeform tasks present on the display and we know we are entering desktop mode if the current tasks launch mode is or is to be set to freeform. Flag: com.android.window.flags.disable_desktop_launch_params_outside_desktop_bug_fix Test: atest WmTests:DesktopModeLaunchParamsModifierTests Fixes: 396108436 Change-Id: Iec0f308e86af68ea85fac4ffd3803403c2fa6a1a
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions