Loading libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopWallpaperActivity.kt +3 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,9 @@ class DesktopWallpaperActivity : FragmentActivity() { } override fun onDisplayChanged(displayId: Int) { // No-op // If the display can no longer host tasks, remove this to ensure // core does not move it to the front of another display. if (displayId == initialDisplayId && !display.canHostTasks()) finish() } } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopWallpaperActivity.kt +3 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,9 @@ class DesktopWallpaperActivity : FragmentActivity() { } override fun onDisplayChanged(displayId: Int) { // No-op // If the display can no longer host tasks, remove this to ensure // core does not move it to the front of another display. if (displayId == initialDisplayId && !display.canHostTasks()) finish() } } Loading