[Android] Remove obsolete whatsapp folders ban / unban
Nicolas Pomepuy
git at videolan.org
Mon May 18 13:48:44 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon May 18 11:15:59 2020 +0200| [090e5822372dfce91fdf5dfd3a7be7075ad75c78] | committer: Nicolas Pomepuy
Remove obsolete whatsapp folders ban / unban
> https://code.videolan.org/videolan/vlc-android/commit/090e5822372dfce91fdf5dfd3a7be7075ad75c78
---
application/vlc-android/src/org/videolan/vlc/MediaParsingService.kt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/MediaParsingService.kt b/application/vlc-android/src/org/videolan/vlc/MediaParsingService.kt
index 5fa9a21b9..d66e99c1f 100644
--- a/application/vlc-android/src/org/videolan/vlc/MediaParsingService.kt
+++ b/application/vlc-android/src/org/videolan/vlc/MediaParsingService.kt
@@ -292,8 +292,8 @@ class MediaParsingService : LifecycleService(), DevicesDiscoveryCb {
}
}
upgrade -> {
- medialibrary.unbanFolder("${AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY}/WhatsApp/")
- medialibrary.banFolder("${AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY}/WhatsApp/Media/WhatsApp%20Animated%20Gifs/")
+ //refresh has already be done in [MediaParsingService.initMedialib]
+ exitCommand()
}
settings.getBoolean(KEY_MEDIALIBRARY_AUTO_RESCAN, true) -> reload(null)
else -> exitCommand()
More information about the Android
mailing list