Fix issue with wrong user task being resolved
- Setup wizard used to finish itself and start home automatically, but now
we have the Tips app show afterwards which requires the user to swipe
up to go home as a part of learning the gesture. Previously that would
have created the home task for the secondary user and subsequent swipes
would work, but in the new flow, the creation of the secondary user
home task would never happen because the recents animation logic tries
to find the primary user's home task. This is only an issue on the first
launch for the secondary user, subsequent launches after completing SUW
will start home as a part of switching users.
This change ensures that we account for the user when trying to resolve
an existing target activity.
Bug:
132410734
Test: atest RecentsAnimationTest
Change-Id: If14ad535948c5aadd83af528592b320dba62c40e