Skip to content
Commit 2952f2cf authored by Garfield Tan's avatar Garfield Tan
Browse files

Only save launch params for leaf tasks.

It doesn't happen in R because back then ActivityStack inherits from
Task and we pass ActivityInfo to it when it's created so setIntent() is
called and Task#realActivity isn't null.

Bug: 178789502
Test: System won't crash when setting display windowing mode.
Test: atest TaskRecordTests with no new failures.
Change-Id: I29adf18700a85593a80d08cf5be998542a97fc51
parent 40517bbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment