update commons to 4.3.30

This commit is contained in:
tibbi
2018-07-05 23:39:55 +02:00
parent 9cb353d0b5
commit 42e8fd3183
2 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ class PhotoProcessor(val activity: MainActivity, val saveUri: Uri?, val deviceOr
val deviceRot = compensateDeviceRotation(deviceOrientation, isUsingFrontCamera)
var image = BitmapFactory.decodeByteArray(data, 0, data.size)
val totalRotation = (imageRot + deviceRot + previewRotation) % 360
if (path.startsWith(activity.internalStoragePath) || isNougatPlus() && !isThirdPartyIntent) {
// do not rotate the image itself in these cases, rotate it by exif only
} else {