Skip to content
Commit ac696e19 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix startActivities may put activity in new task unexpectedly

Commit 591bf6 misplaced the setResultTo to the creation loop
of starters that leads to ActivityStarter#mSourceRecord is
always null. Then during startActivities, if an activity has
different task affinity from the previous, it will be put in
a new task unexpectedly.

Also avoid getting the modified component specified flag.

Bug: 141525305
Test: atest StartActivityTests#testStartActivitiesInNewAndSameTask
Change-Id: I237c9abff6ed9b0afab114e14d57c67692576033
parent 390e3363
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