Cropping and saving a screenshot on the Pixel 7 Pro overwrites the file only up to the length of the new screenshot, leaving all of the original data after that point.
Details
In BitmapExport.java, there is a possible failure to truncate images due to a logic error in the code.