Fix a typo

This commit is contained in:
Mario Danic 2017-02-07 00:02:16 +01:00 committed by AndyScherzinger
parent 52d3671395
commit b78051cf73
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -116,7 +116,7 @@ public class SyncedFolderObserverService extends Service {
Log_OC.d(TAG, "start");
if (pairArrayList.size() == 0) {
for (SyncedFolder syncedFolder : mProvider.getSyncedFolders()) {
if (syncedFolder.isEnabled() && !syncedFolderMap.containsKey(syncedFolder.getLocalPath())) {
if (syncedFolder.isEnabled() && !syncedFolderMap.containsKey(syncedFolder)) {
Log_OC.d(TAG, "start observer: " + syncedFolder.getLocalPath());
FileAlterationMagicObserver observer = new FileAlterationMagicObserver(new File(
syncedFolder.getLocalPath()), fileFilter);