From f335a65d32f9e071818b4cbd3db82b11cd464f3c Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Fri, 8 Sep 2017 11:48:44 -0700 Subject: [PATCH] Stop Thread.interrupt() from being called // FREEBIE --- .../securesms/contacts/ContactsSyncAdapter.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/org/thoughtcrime/securesms/contacts/ContactsSyncAdapter.java b/src/org/thoughtcrime/securesms/contacts/ContactsSyncAdapter.java index 2737d26450..e2e798a8c1 100644 --- a/src/org/thoughtcrime/securesms/contacts/ContactsSyncAdapter.java +++ b/src/org/thoughtcrime/securesms/contacts/ContactsSyncAdapter.java @@ -37,4 +37,14 @@ public class ContactsSyncAdapter extends AbstractThreadedSyncAdapter { } } + @Override + public void onSyncCanceled() { + Log.w(TAG, "onSyncCanceled()"); + } + + @Override + public void onSyncCanceled(Thread thread) { + Log.w(TAG, "onSyncCanceled(" + thread + ")"); + } + }