Skip to content
Snippets Groups Projects
Commit 0949ef13 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Blacklist Whatsapp gifs folder

parent 155b66cc
No related branches found
No related tags found
No related merge requests found
......@@ -574,6 +574,7 @@ public class Medialibrary {
"/audio/alarms/",
"/audio/ringtones/",
"/audio/notifications/",
"/WhatsApp/Media/WhatsApp Animated Gifs/",
};
}
......
......@@ -254,7 +254,8 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
mMedialibrary.banFolder(AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY + folder);
mMedialibrary.discover(AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY);
} else if (upgrade) {
mMedialibrary.unbanFolder(AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY+ "/WhatsApp/");
mMedialibrary.unbanFolder(AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY + "/WhatsApp/");
mMedialibrary.banFolder(AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY + "/WhatsApp/Media/WhatsApp Animated Gifs/");
mMedialibrary.forceParserRetry();
} else if (PreferenceManager.getDefaultSharedPreferences(MediaParsingService.this).getBoolean("auto_rescan", true))
reload(null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment