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

Commit 489bf692 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix surfaceControl release exception" into main am: 644660fe am: b6481752

parents a63d3310 b6481752
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ public class InsetsSourceControl implements Parcelable {
    }

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