commit | c63ea765b5ca9f8928cc9c03c7e9518fb21c0686 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Tue May 17 13:15:56 2022 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Tue May 17 13:15:56 2022 +0800 |
tree | a2860ca97a22f8fce2032f51e54b9960cacfe647 | |
parent | ac94a2dacd0d57751a75b2f5a634c27a6775a94e [diff] |
Check task switch by comparing leaf task. In multi-window mode, the previous top root task can be the parent of the task of launched activity, so the task switch should comparing by leaf task level. Bug: 231363211 Test: atest ActivityStarterTests Test: enter split screen, start another activity from an existing task, verify there won't create starting window on that task. Change-Id: Iaf59e405671a1b8a6674bab4f49ee36b6eb24da3