diff options
| author | 2023-08-11 22:00:07 +0000 | |
|---|---|---|
| committer | 2023-08-17 20:57:03 +0000 | |
| commit | 96d2e1b74dd5d27c62d1e89c84e871541fc2e3be (patch) | |
| tree | e266afb5dac9229610c25a8c6caf4014041530d4 /libs/input/PointerController.cpp | |
| parent | 91e32fa42653150e274f59385e2212fbeaa4b959 (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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6b6d5b9ab3a7623af264852c47136b5ca5fe7cbc)
Merged-In: Id7386eae96cd014bf41ab3c4184ba9f3a79bdf10
Change-Id: Id7386eae96cd014bf41ab3c4184ba9f3a79bdf10
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions