mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 19:30:40 +01:00
fix a condition check
This commit is contained in:
parent
15e24a7f83
commit
f73f8ad1c5
@ -78,7 +78,7 @@ class PhotoProcessor(val activity: MainActivity, val uri: Uri?, val currCameraId
|
||||
val imageRot = orient.degreesFromOrientation()
|
||||
|
||||
val totalRotation = (imageRot + deviceRot + previewRot) % 360
|
||||
if (!activity.isPathOnSD(path) && !isNougatPlus()) {
|
||||
if (activity.isPathOnSD(path) && !isNougatPlus()) {
|
||||
image = rotate(image, totalRotation)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user