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

Commit 009cfc17 authored by wilsonshih's avatar wilsonshih
Browse files

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
parent 25448d4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment