diff options
Diffstat (limited to 'patches/expo-image-picker+15.0.5.patch')
-rw-r--r-- | patches/expo-image-picker+15.0.5.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/patches/expo-image-picker+15.0.5.patch b/patches/expo-image-picker+15.0.5.patch deleted file mode 100644 index 962b36612..000000000 --- a/patches/expo-image-picker+15.0.5.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/node_modules/expo-image-picker/android/src/main/java/expo/modules/imagepicker/exporters/RawImageExporter.kt b/node_modules/expo-image-picker/android/src/main/java/expo/modules/imagepicker/exporters/RawImageExporter.kt -index f339e5f..fa35e82 100644 ---- a/node_modules/expo-image-picker/android/src/main/java/expo/modules/imagepicker/exporters/RawImageExporter.kt -+++ b/node_modules/expo-image-picker/android/src/main/java/expo/modules/imagepicker/exporters/RawImageExporter.kt -@@ -16,7 +16,12 @@ class RawImageExporter : ImageExporter { - copyFile(source, output, contentResolver) - val exifInterface = ExifInterface(output.absolutePath) - val imageRotation = exifInterface.getAttributeInt(ExifInterface.TAG_ORIENTATION, 0) -- val isRotatedLandscape = (imageRotation == ExifInterface.ORIENTATION_ROTATE_90 || imageRotation == ExifInterface.ORIENTATION_ROTATE_270) -+ val isRotatedLandscape = ( -+ imageRotation == ExifInterface.ORIENTATION_ROTATE_90 || -+ imageRotation == ExifInterface.ORIENTATION_ROTATE_270 || -+ imageRotation == ExifInterface.ORIENTATION_TRANSPOSE || -+ imageRotation == ExifInterface.ORIENTATION_TRANSVERSE -+ ) - val options = BitmapFactory.Options().apply { inJustDecodeBounds = true } - - BitmapFactory.decodeFile(output.absolutePath, options) |