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

Commit 76f9cda4 authored by Sebastian Franco's avatar Sebastian Franco Committed by Winson Chung
Browse files

Quick fix for NullPointerException 211713013

Test: Manually tested
Fix: 211713013
Change-Id: Ie701bee61a69d88cc9fce12c9d001a52f30578c4
parent 5a1d0103
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -278,7 +278,9 @@ public class RemoteAnimationTargetCompat {
     * @see SurfaceControl#release()
     */
    public void release() {
        if (leash.mSurfaceControl != null) {
            leash.mSurfaceControl.release();
        }
        if (mStartLeash != null) {
            mStartLeash.release();
        }