commit | 273e999294f6786914def271d1b066715eb8cb30 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Apr 29 22:40:59 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Tue Apr 30 16:58:20 2019 +0000 |
tree | 3e00b8694425c690fa5ac9b45c795f8f9d56ebae | |
parent | 296152392f3f5851dd0d94a959a30989e9dc1463 [diff] |
Fix task movement if top running activity of focused stack is null If the target task is non-null and current top task is null (e.g. the activity may be finishing or use FLAG_ACTIVITY_PREVIOUS_IS_TOP), we should still consider they are different task so the target task can be moved to front instead of only move its stack. Bug: 131589476 Test: atest ActivityStarterTests#testBringTaskToFrontWhenFocusedStackIsFinising Change-Id: Ibf8befae74aab9e308d82d2149c41cd069615988