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

Commit 16962a59 authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

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
parent 2ff41208
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -799,6 +799,7 @@ class DesktopTasksController(
        val intent = Intent(context, DesktopWallpaperActivity::class.java)
        val intent = Intent(context, DesktopWallpaperActivity::class.java)
        val options =
        val options =
            ActivityOptions.makeBasic().apply {
            ActivityOptions.makeBasic().apply {
                launchWindowingMode = WINDOWING_MODE_FULLSCREEN
                pendingIntentBackgroundActivityStartMode =
                pendingIntentBackgroundActivityStartMode =
                    ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS
                    ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS
            }
            }