commit | 87ca32eb79e698acbff7fd2977a5f433a8caf711 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Thu May 14 13:40:16 2020 +0800 |
committer | Louis Chang <louischang@google.com> | Thu May 14 13:40:16 2020 +0800 |
tree | e40e4f70e4cf01ce38015c3b6bb1826352ca0705 | |
parent | a24033d8aacc8e96b1fadace0ea1e7e0073335a7 [diff] |
Do not reuse non-leaf tasks for the starting activity TV Settings activities were started in home stack because home stack was originally created from TV Settings FallbackHome activity. So, it was being reused for the Settings activities. Only looks for the reused task from leaf tasks and also not setting task affinity on non-leaf tasks. Bug: 154517501 Test: start Settings activities and not landing on home stack Change-Id: I07cb0e40248fd2a37f8e9cfe71d13651aed25207