update commons to 3.19.20

This commit is contained in:
tibbi 2018-04-25 23:01:23 +02:00
parent 577cb8dffe
commit e2fa9646d9
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.19.18'
implementation 'com.simplemobiletools:commons:3.19.20'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'it.sephiroth.android.exif:library:1.0.1'

View file

@ -253,7 +253,7 @@ class MediaFetcher(val context: Context) {
else -> TYPE_GIFS
}
val path = Uri.decode(file.uri.toString().replaceFirst("${context.config.OTGBasePath}%3A", OTG_PATH))
val path = Uri.decode(file.uri.toString().replaceFirst("${context.config.OTGTreeUri}/document/${context.config.OTGPartition}%3A", OTG_PATH))
val medium = Medium(null, filename, path, folder, dateModified, dateTaken, size, type)
media.add(medium)
}