commit | 238e0b32bb6c3b105e0a8703064c25d1a68631ed | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Tue Apr 26 12:45:37 2022 +0800 |
committer | Chris Li <lihongyu@google.com> | Thu May 12 11:13:05 2022 +0800 |
tree | 265dee2d031b5956d1de3dd83cfb91f09ac7b302 | |
parent | c9ab8713b8f488406e46dc7649f2509c10290dcd [diff] |
Handle onActivityReparentToTask for activity in other process 1. Refactor onStartActivity so that we can reuse the same logic for onActivityReparentToTask. Also cleanup the logic there. 2. Besides the launching activity, check if the launched activity can be split with the top activities. Bug: 225371112 Test: atest WMJetpackUnitTests:SplitControllerTest Test: atest WMJetpackUnitTests:TaskContainerTest Change-Id: I840766e4efaa4bdb9ec89cdca8b3c2c0bbe8cf8c