also blacklist .tmp and .bin files
This commit is contained in:
1 parent
3481503633
commit
012b53e1ea
1 file changed
+1
-1
@@ -575,7 +575,7 @@ public class MediaScanner implements Handler.Callback {
|
||||
return hasChanged;
|
||||
}
|
||||
|
||||
private static final Pattern sIgnoredFilenames = Pattern.compile("^([^\\.]+|.+\\.(jpe?g|gif|png|bmp|webm|txt|pdf|avi|mp4|mkv|zip|tgz|xml))$", Pattern.CASE_INSENSITIVE);
|
||||
private static final Pattern sIgnoredFilenames = Pattern.compile("^([^\\.]+|.+\\.(jpe?g|gif|png|bmp|webm|txt|pdf|avi|mp4|mkv|zip|tgz|xml|tmp|bin))$", Pattern.CASE_INSENSITIVE);
|
||||
/**
|
||||
* Returns true if the file should not be scanned
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user