Loading commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Context-storage.kt +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ fun Context.updateLastModified(file: File, lastModified: Long) { } } fun Context.getOTGItems(path: String, callback: (List<FileDirItem>) -> Unit) { fun Context.getOTGItems(path: String, callback: (ArrayList<FileDirItem>) -> Unit) { val items = ArrayList<FileDirItem>() val OTGTreeUri = baseConfig.OTGTreeUri var rootUri = DocumentFile.fromTreeUri(applicationContext, Uri.parse(OTGTreeUri)) Loading commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ const val APP_VERSION_NAME = "app_version_name" const val REAL_FILE_PATH = "real_file_path" const val IS_FROM_GALLERY = "is_from_gallery" const val BROADCAST_REFRESH_MEDIA = "com.simplemobiletools.REFRESH_MEDIA" const val OTG_PATH = "otg://" const val OTG_PATH = "otg:/" // shared preferences const val PREFS_KEY = "Prefs" Loading Loading
commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Context-storage.kt +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ fun Context.updateLastModified(file: File, lastModified: Long) { } } fun Context.getOTGItems(path: String, callback: (List<FileDirItem>) -> Unit) { fun Context.getOTGItems(path: String, callback: (ArrayList<FileDirItem>) -> Unit) { val items = ArrayList<FileDirItem>() val OTGTreeUri = baseConfig.OTGTreeUri var rootUri = DocumentFile.fromTreeUri(applicationContext, Uri.parse(OTGTreeUri)) Loading
commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ const val APP_VERSION_NAME = "app_version_name" const val REAL_FILE_PATH = "real_file_path" const val IS_FROM_GALLERY = "is_from_gallery" const val BROADCAST_REFRESH_MEDIA = "com.simplemobiletools.REFRESH_MEDIA" const val OTG_PATH = "otg://" const val OTG_PATH = "otg:/" // shared preferences const val PREFS_KEY = "Prefs" Loading