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

Commit 21688ace authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Guard potential null case in FullscreenTaskListener.releaseWindowDecor...

Merge "Guard potential null case in FullscreenTaskListener.releaseWindowDecor found in testing." into tm-qpr-dev
parents c8f7faf7 0e1f4736
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -287,6 +287,9 @@ public class FullscreenTaskListener<T extends AutoCloseable>
    }

    private void releaseWindowDecor(T windowDecor) {
        if (windowDecor == null) {
            return;
        }
        try {
            windowDecor.close();
        } catch (Exception e) {