mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
parent
d1bdb6a36e
commit
5949ffd1e8
1 changed files with 2 additions and 2 deletions
|
|
@ -115,9 +115,9 @@ class FileProcessor @Inject constructor(
|
||||||
Timber.d("Checking for tag: %s", tag)
|
Timber.d("Checking for tag: %s", tag)
|
||||||
exifInterface?.getAttribute(tag)
|
exifInterface?.getAttribute(tag)
|
||||||
?.takeIf { it.isNotEmpty() }
|
?.takeIf { it.isNotEmpty() }
|
||||||
?.let {
|
?.let { attributeName ->
|
||||||
exifInterface.setAttribute(tag, null).also {
|
exifInterface.setAttribute(tag, null).also {
|
||||||
Timber.d("Exif tag $tag with value $it redacted.")
|
Timber.d("Exif tag $tag with value $attributeName redacted.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue