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

Commit 031f0212 authored by Miranda Kephart's avatar Miranda Kephart Committed by Android (Google) Code Review
Browse files

Merge "Fix crash when taking screenshots from overview" into rvc-dev

parents 984a51c6 ab359beb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -347,6 +347,7 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset
    void handleImageAsScreenshot(Bitmap screenshot, Rect screenshotScreenBounds,
            Insets visibleInsets, int taskId, Consumer<Uri> finisher) {
        // TODO use taskId and visibleInsets
        clearScreenshot("new screenshot requested");
        takeScreenshot(screenshot, finisher, screenshotScreenBounds);
    }