On Android 9 my users report the following crash due to Region.Op.XOR deprecation:
ava.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed at android.graphics.Canvas.checkValidClipOp(Canvas.java:779) at android.graphics.Canvas.clipPath(Canvas.java:1007) at com.linchaolong.android.imagepicker.cropper.CropOverlayView.drawBackground(CropOverlayView.java:706) at com.linchaolong.android.imagepicker.cropper.CropOverlayView.onDraw(CropOverlayView.java:648)
On Android 9 my users report the following crash due to Region.Op.XOR deprecation:
ava.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed at android.graphics.Canvas.checkValidClipOp(Canvas.java:779) at android.graphics.Canvas.clipPath(Canvas.java:1007) at com.linchaolong.android.imagepicker.cropper.CropOverlayView.drawBackground(CropOverlayView.java:706) at com.linchaolong.android.imagepicker.cropper.CropOverlayView.onDraw(CropOverlayView.java:648)