From 240c566124161f0ee8c73ff07a2308f9f20ad10f Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sun, 30 Nov 2014 22:25:56 -0800 Subject: [PATCH] Wrong condition added in commit 5dd3d0205260c506917b80428777212eb4995a1b --- src/org/kde/kdeconnect/Helpers/StorageHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/kde/kdeconnect/Helpers/StorageHelper.java b/src/org/kde/kdeconnect/Helpers/StorageHelper.java index bd6f5743..427f0a1f 100644 --- a/src/org/kde/kdeconnect/Helpers/StorageHelper.java +++ b/src/org/kde/kdeconnect/Helpers/StorageHelper.java @@ -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); }