Forráskód Böngészése

Fix on search of operation to cancel

David A. Velasco 10 éve
szülő
commit
76904d2c8e

+ 1 - 1
src/com/owncloud/android/services/OperationsService.java

@@ -499,7 +499,7 @@ public class OperationsService extends Service {
                     boolean found = false;
                     while (it.hasNext()) {
                         String keySyncOperation = it.next();
-                        found = keySyncOperation.contains(targetKey);
+                        found = keySyncOperation.startsWith(targetKey);
                         if (found) {
                             keyItems.add(keySyncOperation);
                         }