Merge "Remove unused variable previewBounds in ScreenshotView" into sc-dev

This commit is contained in:
Miranda Kephart
2021-02-04 21:21:37 +00:00
committed by Android (Google) Code Review

View File

@@ -325,8 +325,6 @@ public class ScreenshotView extends FrameLayout implements
Log.d(TAG, "createAnim: bounds=" + bounds + " showFlash=" + showFlash);
}
Rect previewBounds = new Rect();
mScreenshotPreview.getBoundsOnScreen(previewBounds);
Rect targetPosition = new Rect();
mScreenshotPreview.getHitRect(targetPosition);