Skip to content
Commit 180162e1 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Do not schedule transition in onTaskVanished

With the latest change, dismiss a PiP should now be originated from
SysUI itself. When the onTaskVanished callback happens as a result of
removeStacksInWindowingMode, there's no necessity for SysUI to start
transition again.

Plus, the SurfaceControl would be revoked when onTaskVanished happens
and it would be a fatal error if SysUI does so.

Bug: 153280613
Bug: 152214447
Test: manually enter/exit/close PiP
Change-Id: I785eaac52fa1410ef2a22c41035cf952410a7335
parent 8e4db580
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