update commons to 5.5.17

This commit is contained in:
tibbi 2018-12-17 19:59:33 +01:00
parent 90f9add84f
commit 8905b78678
4 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.5.16' implementation 'com.simplemobiletools:commons:5.5.17'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation 'androidx.multidex:multidex:2.0.0' implementation 'androidx.multidex:multidex:2.0.0'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'

View file

@ -375,7 +375,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
Thread { Thread {
if (hasOTGConnected()) { if (hasOTGConnected()) {
runOnUiThread { runOnUiThread {
ConfirmationDialog(this, getString(R.string.otg_detected), positive = R.string.ok, negative = 0) { ConfirmationDialog(this, getString(R.string.usb_detected), positive = R.string.ok, negative = 0) {
handleOTGPermission { handleOTGPermission {
config.addIncludedFolder(OTG_PATH) config.addIncludedFolder(OTG_PATH)
} }

View file

@ -341,7 +341,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
val dirName = when { val dirName = when {
mPath == FAVORITES -> getString(R.string.favorites) mPath == FAVORITES -> getString(R.string.favorites)
mPath == RECYCLE_BIN -> getString(R.string.recycle_bin) mPath == RECYCLE_BIN -> getString(R.string.recycle_bin)
mPath == OTG_PATH -> getString(R.string.otg) mPath == OTG_PATH -> getString(R.string.usb)
mPath.startsWith(OTG_PATH) -> mPath.trimEnd('/').substringAfterLast('/') mPath.startsWith(OTG_PATH) -> mPath.trimEnd('/').substringAfterLast('/')
else -> getHumanizedFilename(mPath) else -> getHumanizedFilename(mPath)
} }

View file

@ -375,7 +375,7 @@ fun Context.getFolderNameFromPath(path: String): String {
return when (path) { return when (path) {
internalStoragePath -> getString(R.string.internal) internalStoragePath -> getString(R.string.internal)
sdCardPath -> getString(R.string.sd_card) sdCardPath -> getString(R.string.sd_card)
OTG_PATH -> getString(R.string.otg) OTG_PATH -> getString(R.string.usb)
FAVORITES -> getString(R.string.favorites) FAVORITES -> getString(R.string.favorites)
RECYCLE_BIN -> getString(R.string.recycle_bin) RECYCLE_BIN -> getString(R.string.recycle_bin)
else -> { else -> {