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

Commit 644660fe authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix surfaceControl release exception" into main

parents 2cd201e9 80cc88bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ public class InsetsSourceControl implements Parcelable {
    }

    public void release(Consumer<SurfaceControl> surfaceReleaseConsumer) {
        if (mLeash != null) {
        if (mLeash != null && mLeash.isValid()) {
            surfaceReleaseConsumer.accept(mLeash);
        }
    }