fix a condition check

This commit is contained in:
tibbi 2018-04-01 12:16:46 +02:00
parent 15e24a7f83
commit f73f8ad1c5
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class PhotoProcessor(val activity: MainActivity, val uri: Uri?, val currCameraId
val imageRot = orient.degreesFromOrientation() val imageRot = orient.degreesFromOrientation()
val totalRotation = (imageRot + deviceRot + previewRot) % 360 val totalRotation = (imageRot + deviceRot + previewRot) % 360
if (!activity.isPathOnSD(path) && !isNougatPlus()) { if (activity.isPathOnSD(path) && !isNougatPlus()) {
image = rotate(image, totalRotation) image = rotate(image, totalRotation)
} }