storage: add another directory to the blacklist

until we replace this whole mess
refactor-toolbar
Floens 8 years ago
parent 481e6d9e2a
commit f043423d6e
  1. 4
      Clover/app/src/main/java/org/floens/chan/core/saver/StorageHelper.java

@ -31,11 +31,9 @@ public class StorageHelper {
String absolutePath = file.getAbsolutePath(); String absolutePath = file.getAbsolutePath();
switch (absolutePath) { switch (absolutePath) {
case "/storage": case "/storage":
return true;
case "/storage/emulated": case "/storage/emulated":
return true; case "/storage/emulated/0":
case "/storage/emulated/0/0": case "/storage/emulated/0/0":
return true;
case "/storage/emulated/legacy": case "/storage/emulated/legacy":
return true; return true;
} }

Loading…
Cancel
Save