diff options
author | Hyangseok Chae <neo.chae@lge.com> | 2020-03-10 12:58:07 +0900 |
---|---|---|
committer | erosky <erosky@google.com> | 2020-03-13 19:02:49 -0700 |
commit | 16cde29b4408622e835fef91f36518ead830c979 (patch) | |
tree | e4936752788d8e61a666c1524f3f9ef90603122b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a7a96ad6f8ceb5d961dec8c3ebade5ff3d6a2bb9 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions