commit | 7d6783c37f00dd9dd99bd003a29b77b38df33858 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Tue Jan 07 17:20:37 2020 +0800 |
committer | Louis Chang <louischang@google.com> | Thu Jan 16 17:49:16 2020 +0800 |
tree | f84a51c0cc481a0e85a685b8b6ee7249d449d59f | |
parent | b69a2c9cd15e8e2b8e9aefbc622d3634b50463ea [diff] |
Avoid creating new instance on top when started for result in some cases A new activity instance was created when the task top activity with launch mode singleTop started itself via startActivityForResult. Also an activity with launchMode singleInstance was created and added on top of another activity if it was started via startActivityForResult(). Bug: 122967919 Bug: 122968776 Test: atest IntentTests Change-Id: I923a0d9aae62dc44c796b7f1c9327dd35dd658bb