diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-10-01 19:13:48 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-10-01 19:13:48 +0800 |
commit | ac696e19a24c75e2fbecf3f3f8e1398ce38c572f (patch) | |
tree | 970f86b84ae62c38935d474c160b149f332fce2e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 390e3363117fa83dd6a2835895cfff77ed322ef6 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions