2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Wrong condition added in commit 5dd3d02052

This commit is contained in:
Albert Vaca
2014-11-30 22:25:56 -08:00
parent 3b64199ee2
commit 240c566124

View File

@@ -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);
}