OSDN Git Service

Wait on activity brought to front for trampoline activities.
authorBryce Lee <brycelee@google.com>
Wed, 17 May 2017 22:18:35 +0000 (15:18 -0700)
committerBryce Lee <brycelee@google.com>
Wed, 17 May 2017 22:18:35 +0000 (15:18 -0700)
commit89cd19a4c4d274438ec63f79aae091c37e801f18
treed7f2ea1e0b63e62865b8a5a92b168e7da00fe142
parentba21a120c15b7f0d1e462a9088ea5e69935c0c26
Wait on activity brought to front for trampoline activities.

We were previously waiting on a trampoline activity to become
visible when an existing activity (when reused via intent match) was
brought to front. This will never resolve as the trampoline activity
does not become visible.

This CL identifies this situation and properly associates the wait
with the reused activity.

Change-Id: I55f47766e8cdf92e31b4ddd97864cb0f5f3b751a
Fixes: 38030545
Test: cts-tradefed run cts -m CtsServicesHostTestCases -t  android.server.cts.ActivityManagerAmStartOptionsTests#testDashW_Indirect
services/core/java/com/android/server/am/ActivityStarter.java