Loading
Pass ActivityOptions when endDeferAddStartingWindow
The AR#mPendingOptions would be removed while resume top activity, if the app is launching to fullscreen mode, resume top activity would happen after all other activities are paused. However, this condition won't skip resume when launching an app to freeform window. To preventing the mPendingOptions from cleared while startActivites, pass the activity options when start activities to creating the starting window for top most activity. Bug: 215768214 Test: atest SplashscreenTests ActivityRecordTests Test: run above test on aosp_cf_x86_64_pc-userdebug Test: enable freeform, run above test again. Change-Id: I6351a12862f39069c7248de920ee1e317c2c221d