aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain
diff options
context:
space:
mode:
authormar-v-in <github@rvin.mooo.com>2014-06-18 17:06:46 +0200
committermar-v-in <github@rvin.mooo.com>2014-06-18 17:06:46 +0200
commita1c3c41073d283dc951e50199d409e28ee4a2ee8 (patch)
tree46967b868fc33f78e691aa350b7ccd8696c38552 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain
parentb9d88de286022f29561eff3e6826e3052eb9c9ea (diff)
downloadopen-keychain-a1c3c41073d283dc951e50199d409e28ee4a2ee8.tar.gz
open-keychain-a1c3c41073d283dc951e50199d409e28ee4a2ee8.tar.bz2
open-keychain-a1c3c41073d283dc951e50199d409e28ee4a2ee8.zip
Reset importDone at the beginning of sync
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/ContactSyncAdapterService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/ContactSyncAdapterService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/ContactSyncAdapterService.java
index b245c5e2a..6c4d59a77 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/ContactSyncAdapterService.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/ContactSyncAdapterService.java
@@ -45,6 +45,7 @@ public class ContactSyncAdapterService extends Service {
@Override
public void onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider,
final SyncResult syncResult) {
+ importDone.set(false);
KeychainApplication.setupAccountAsNeeded(ContactSyncAdapterService.this);
EmailKeyHelper.importContacts(getContext(), new Messenger(new Handler(Looper.getMainLooper(),
new Handler.Callback() {