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

Commit ca0e7143 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add splashscreen to apps after reboot." into main

parents 693cc97c 85f890f2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ import android.window.DesktopModeFlags.DISABLE_NON_RESIZABLE_APP_SNAP_RESIZE
import android.window.DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_WALLPAPER_ACTIVITY
import android.window.DesktopModeFlags.ENABLE_WINDOWING_DYNAMIC_INITIAL_BOUNDS
import android.window.RemoteTransition
import android.window.SplashScreen.SPLASH_SCREEN_STYLE_ICON
import android.window.TransitionInfo
import android.window.TransitionInfo.Change
import android.window.TransitionRequestInfo
@@ -1417,7 +1418,10 @@ class DesktopTasksController(
                    wct.startTask(
                        taskId,
                        ActivityOptions.makeBasic()
                            .apply { launchWindowingMode = WINDOWING_MODE_FREEFORM }
                            .apply {
                                launchWindowingMode = WINDOWING_MODE_FREEFORM
                                splashScreenStyle = SPLASH_SCREEN_STYLE_ICON
                            }
                            .toBundle(),
                    )
                }