Commit 240c5661 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora
Browse files

Wrong condition added in commit 5dd3d020

parent 3b64199e
......@@ -106,7 +106,7 @@ public class StorageHelper {
}
if (!path.startsWith("/storage/emulated") || dirs.length == 1) {
if (!paths.contains(path) && !paths.contains(path2)) {
if (mounts != null || mounts.contains(path) || mounts.contains(path2))
if (mounts == null || mounts.contains(path) || mounts.contains(path2))
list.add(0, new StorageInfo(path, false, true, cur_removable_number++));
paths.add(path);
}
......
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