Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 428e04bb authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

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
parent 48e1f12c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment