[Android] OTG: Use string resource
Geoffrey Métais
git at videolan.org
Mon Nov 19 17:16:10 CET 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov 19 17:15:57 2018 +0100| [fc5c41ac7b2fff8c57edb3c5ac69fd28cf7ccaa1] | committer: Geoffrey Métais
OTG: Use string resource
> https://code.videolan.org/videolan/vlc-android/commit/fc5c41ac7b2fff8c57edb3c5ac69fd28cf7ccaa1
---
vlc-android/src/org/videolan/vlc/providers/FileBrowserProvider.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/providers/FileBrowserProvider.kt b/vlc-android/src/org/videolan/vlc/providers/FileBrowserProvider.kt
index 18017f136..e4ae1a625 100644
--- a/vlc-android/src/org/videolan/vlc/providers/FileBrowserProvider.kt
+++ b/vlc-android/src/org/videolan/vlc/providers/FileBrowserProvider.kt
@@ -115,7 +115,7 @@ open class FileBrowserProvider(
}
if (AndroidUtil.isLolliPopOrLater && !ExternalMonitor.devices.value.isEmpty()) {
val otg = MediaWrapper(Uri.parse("otg://")).apply {
- title = "OTG Device"
+ title = context.getString(R.string.otg_device_title)
type = MediaWrapper.TYPE_DIR
}
otgPosition = devices.size
More information about the Android
mailing list