diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 5b2a9a967..52b853f0e 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -515,7 +515,7 @@ private void processResultFromCamera(int destType, Intent intent) throws IOExcep if (this.allowEdit && this.croppedUri != null) { writeUncompressedImage(croppedUri, galleryUri); } else { - if (Build.VERSION.SDK_INT <= 28) { // Between LOLLIPOP_MR1 and P, can be changed later to the constant Build.VERSION_CODES.P + if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.P) { writeTakenPictureToGalleryLowerThanAndroidQ(galleryUri); } else { // Android Q or higher writeTakenPictureToGalleryStartingFromAndroidQ(galleryPathVO);