commit | 16962a59073ee4d34ca132a93fe3d4ec553012cb | [log] [tgz] |
---|---|---|
author | Toshiki Kikuchi <toshikikikuchi@google.com> | Thu Aug 29 14:55:03 2024 +0900 |
committer | Toshiki Kikuchi <toshikikikuchi@google.com> | Mon Sep 02 23:26:40 2024 +0000 |
tree | a26ef688a34f66b7ea79d6698cfe7ae6483494ee | |
parent | 2ff4120877f721a6d964bbf493c6e6f95257de65 [diff] |
Launch DesktopWallpaper in fullscreen This CL ensures that DesktopWallpaperActivity is launched in fullscreen regardless of the TDA’s windowing mode. Otherwise, it’s launched in freeform mode on freeform-first devices. Bug: 363857269 Bug: 361419732 Flag: EXEMPT bug fix Test: manual Change-Id: Ibbd4b6d914cda5cb34d0edc56630713f56bb3d46
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopTasksController.kt b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopTasksController.kt index 33794d2..69c85ae 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopTasksController.kt +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopTasksController.kt
@@ -799,6 +799,7 @@ val intent = Intent(context, DesktopWallpaperActivity::class.java) val options = ActivityOptions.makeBasic().apply { + launchWindowingMode = WINDOWING_MODE_FULLSCREEN pendingIntentBackgroundActivityStartMode = ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS }