From b3b5b1029e06a0a6e854d7733a38cc0357f86590 Mon Sep 17 00:00:00 2001 From: Ivan Tkachenko Date: Tue, 4 Jun 2024 16:55:08 +0000 Subject: Revert "Set desktop wallpaper activity `avoid move to front`" This reverts commit 7789ce9d7093193f3a446159076b346a241039eb. Reason for revert: It breaks desktop wallpaper activity presentation as WMCore doesn't add desktop wallpaper activity as no-op Change-Id: I247cdb8f50a019fb16dddb86fbf11a2b44e790af --- .../Shell/src/com/android/wm/shell/desktopmode/DesktopTasksController.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'libs') 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 33aebb9474c3..6e45397411d7 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 @@ -751,7 +751,6 @@ class DesktopTasksController( val intent = Intent(context, DesktopWallpaperActivity::class.java) val options = ActivityOptions.makeBasic().apply { - setAvoidMoveToFront() isPendingIntentBackgroundActivityLaunchAllowedByPermission = true pendingIntentBackgroundActivityStartMode = ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED -- cgit v1.2.3-59-g8ed1b