commit | cfe46219cfa5b75e5d444a7b2eedabda78c8b2e0 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Tue Jul 30 10:34:18 2019 +0800 |
committer | Louis Chang <louischang@google.com> | Wed Aug 28 18:40:45 2019 +0800 |
tree | a6d235541d6aaac63c6f75bbf0fe3c973631ad99 | |
parent | a3662b912dc857bc98eddcf61ddfc5420edcae0f [diff] |
Resuming the restarting activities only if they were on stack top While starting multiple activities via Activity.startActivities(), more than one activities were launched within the same task. If the top activity is not fullscreen, the activities below were visible and stayed in RESUMED states. Only resume the top-most activity while restarting it. Bug: 136126538 Test: atest ActivityStackTests Change-Id: I63d69609d9ebc31899c22b9d913a587348725826