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

Commit 0872c245 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Readd missing null check"

parents 92d053b4 9f9d61fd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2112,6 +2112,9 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
            boolean wallpaperOnly, boolean includeDecor) {
        Bitmap bitmap = screenshotApplications(appToken, width, height, includeFullDisplay,
                frameScale, wallpaperOnly, includeDecor, SurfaceControl::screenshot);
        if (bitmap == null) {
            return null;
        }

        if (DEBUG_SCREENSHOT) {
            // TEST IF IT's ALL BLACK