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

@ -375,7 +375,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
Thread {
if (hasOTGConnected()) {
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 {
config.addIncludedFolder(OTG_PATH)
}

View File

@ -341,7 +341,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
val dirName = when {
mPath == FAVORITES -> getString(R.string.favorites)
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('/')
else -> getHumanizedFilename(mPath)
}

View File

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