Merge "Fix crash when taking screenshots from overview" into rvc-dev am: 031f0212f1

Change-Id: Ic2086fa694bf7d1717d1fcce5d0acd245f87d3d3
This commit is contained in:
Automerger Merge Worker
2020-03-17 14:27:22 +00:00

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