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

This commit is contained in:
Miranda Kephart
2020-03-17 14:25:43 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}