Skip to content
Commit 16cde29b authored by Hyangseok Chae's avatar Hyangseok Chae Committed by erosky
Browse files

Cancel animation before destroying of SurfaceControl.

It can occur that access invalid SurfaceControl.
And this makes NullPointerException at runtime.

*** FATAL EXCEPTION IN SYSTEM PROCESS:android.anim.lf
java.lang.NullPointerException: mNativeObject is null.
    Have you called release() already?
  at android.view.SurfaceControl.checkNotReleased

We need to cancel animation before removing SurfaceControl

Bug: 150438558
Test: Existing tests pass.
      Open an app in freeform and maximize/restore it.
      Maximize freeform and press recent concurrently.

Change-Id: I95d319f66e0d571d270ed8295768bec6f1cbb0dd
parent a7a96ad6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment