Commit fa9a6f8a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Do not hardcode /sdcard

parent 882432da
......@@ -45,24 +45,25 @@ public class Media implements Comparable<Media> {
".awb", ".cda", ".dts", ".flac", ".it", ".m4a", ".m4p", ".mid", ".mka", ".mlp", ".mod",
".mp1", ".mp2", ".mp3", ".mpc", ".oga", ".ogg", ".oma", ".rmi", ".s3m", ".spx", ".tta",
".voc", ".vqf", ".w64", ".wav", ".wma", ".wv", ".xa", ".xm" };
String[] folder_blacklist = {
"/sdcard/Android/data/" };
"/Android/data/" };
EXTENTIONS = new HashSet<String>();
for (String item : extensions)
FOLDER_BLACKLIST = new HashSet<String>();
for (String item : folder_blacklist)
FOLDER_BLACKLIST.add(android.os.Environment.getExternalStorageDirectory().getPath() + item);
public final static int TYPE_ALL = -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment