Skip to content
Commit f7f7f9c4 authored by Louis Chang's avatar Louis Chang
Browse files

Do not use top running activities in other tasks when reset tasks

There were no running activities left in the resetting task, because
all activities in the task were set as finishing. The next top running
activity from other tasks was selected and returning it as the new
taskTop. However, we shouldn’t return the activity that was not
belonging to the resetting task because other tasks below would be
reused for the newly starting activity.

Bug: 135033489
Test: atest ActivityStackTests

Change-Id: Ia3793cd3d65837fdbc4cd43c2639e86184f6fb15
parent 57872964
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