Skip to content
Commit 25b5619a authored by Evan Rosky's avatar Evan Rosky
Browse files

Clean-up change transition when cancelled before anim starts

Change transitions require the app window be put in an interim
state while waiting for the end-state snapshot and animation
to start. when moving an app from one display to another, it
gets a config/mode change before onDisplayChanged causing it
to prepare for an animation that never happens.

This change cleans-up the pending-change-transition state in
the various cases where the animation is cancelled before it
has started.

Bug: 120034483
Test: create simulated display in desktop mode, launch freeform app
      on it, remove display. App is now visible.
      Added more AppChangeTransitionTests for these cases.

Change-Id: I14a758957903ff7b3efd286f713f81b9de293fcb
parent b9218244
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