diff options
| author | 2022-12-08 23:13:13 +0800 | |
|---|---|---|
| committer | 2022-12-09 18:57:03 +0800 | |
| commit | 9eef8ebc44d1d70f0cb9f8b34bdb1ff885227f68 (patch) | |
| tree | d27d214d0f70da5cf168e9d30cabd5fd27d844b2 /api/api.go | |
| parent | e354477990414020e90a8b403f655e6a7b3395b9 (diff) | |
Check lock-task mode if task_on_home is applied
d41841f469f3a9e13, always checks whether the home task is violated
with lock-task mode while moving the task to the front. That result in
the pinned toast was shown even applications don’t not request to have
task_on_home behavior.
This CL checks the home task violation with lock-task mode after the
task-on-home flag is applyed.
Bug: 261383209
Test: atest TaskTests#testReturnsToHomeRootTask
      atest ActivityVisibilityTests#testLaunchTaskOnHome
Change-Id: Iccc7e595b043a712c5959d28ba14f54825bcadd6
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions