commit | 6b6d5b9ab3a7623af264852c47136b5ca5fe7cbc | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Fri Aug 11 22:00:07 2023 +0000 |
committer | Kevin Han <kevhan@google.com> | Thu Aug 17 17:59:12 2023 +0000 |
tree | adec715243b2403389ebd3b70ba2e2f1d1d9b6f0 | |
parent | 7dce61f0a24e1c56243783feca4278542b09ec67 [diff] |
Remove pinned tasks when starting locked task w/ intent When a task is started w/ flags from an intent, it directly calls into LockTaskController#startLockTaskMode. This misses the other code called normally in ActivityTaskManagerService#startLockTaskMode such as closing any pinned apps. We fix this by moving this logic down a level to the common code path shared by both Bug: 295207389 Test: repro in bug Change-Id: Id7386eae96cd014bf41ab3c4184ba9f3a79bdf10