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

Commit 5a6ec226 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Quick fix for NullPointerException 211713013" into sc-v2-dev am: b7f37cd7 am: 19516a04

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16569980

Change-Id: I4842f7c2e4e74a29f6b1868838dfb6d9d3b49158
parents 9a995038 19516a04
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -282,7 +282,9 @@ public class RemoteAnimationTargetCompat {
     * @see SurfaceControl#release()
     */
    public void release() {
        if (leash.mSurfaceControl != null) {
            leash.mSurfaceControl.release();
        }
        if (mStartLeash != null) {
            mStartLeash.release();
        }