mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2024-12-25 06:51:23 +01:00
update commons to 4.3.30
This commit is contained in:
parent
9cb353d0b5
commit
42e8fd3183
@ -45,7 +45,7 @@ ext {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:4.3.29'
|
||||
implementation 'com.simplemobiletools:commons:4.3.30'
|
||||
|
||||
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
||||
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user