Skip to content

Commit 7fe17f2

Browse files
alperozturk96AndyScherzinger
authored andcommitted
add logs
Signed-off-by: alperozturk <[email protected]>
1 parent d522305 commit 7fe17f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/nextcloud/utils/OCFileUtils.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ object OCFileUtils {
7272
h = tmp
7373
}
7474

75+
Log_OC.d(TAG, "Using exif imageDimension: $w x $h")
7576
if (w > 0 && h > 0) w to h else null
7677
} catch (_: Exception) {
7778
null
@@ -82,6 +83,8 @@ object OCFileUtils {
8283
android.graphics.BitmapFactory.decodeFile(path, options)
8384
val w = options.outWidth
8485
val h = options.outHeight
86+
87+
Log_OC.d(TAG, "Using bitmap factory imageDimension: $w x $h")
8588
if (w > 0 && h > 0) w to h else null
8689
} catch (_: Exception) {
8790
null

0 commit comments

Comments
 (0)