diff options
| author | 2023-04-17 22:07:47 +0000 | |
|---|---|---|
| committer | 2023-04-17 22:11:19 +0000 | |
| commit | 428e04bb424818be0fab86c6af92fd2e0abecd05 (patch) | |
| tree | 8c7b4ff9eaf851e532e29c540ae1fbb14f479c48 /api/api.go | |
| parent | 48e1f12c185310a716a287721f0f86b23d23478b (diff) | |
If leash is null it's not a valid state to remove PiP
Due to potential race condition if an app crashes during the dismiss
PiP gesture, it is possible that the leash will be reset in
onTaskVanished before the removePip function gets invoked. In such state it's no longer valid to try to dismiss PiP, since it's already gone.
Bug: 269113067
Test: n/a, following bug report stack trace for root cause
Change-Id: I985ee12f54d8fb2ab005197427a522d871692d1a
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions