commit | 3270f1798d278ec41b6695915a3e5eb41063299e | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Wed Apr 26 07:29:42 2017 -0700 |
committer | Wale Ogunwale <ogunwale@google.com> | Wed Apr 26 07:29:42 2017 -0700 |
tree | 79725b9b677ac1abe7f836d452486fad7ab3aec5 | |
parent | 0f8764485b055d5f4904a3db201ca338b398347a [diff] |
Use ActivityRecord.realActivity when comparing waiting visible We need to compare against realActivity since that represents the actual activity that is launched since it can and will be different in the case of activity alias. realActivity is also what we set in ActivityStarter when we wait for the activity to be visible. Change-Id: I48636e83172f259ed69fb65937a83f8a7a0ad138 Fixes: 37665516 Test: am start -W -n com.google.android.calculator/com.android.calculator2.Calculator twice