@Override public void onSyncCanceled() { super.onSyncCanceled(); mIsCancelled = true; if (mCurrentTask != null) { mCurrentTask.cancel(); } }
@Override public void onSyncCanceled() { super.onSyncCanceled(); // TODO: cancel the sync! // From the docs: "This will be invoked on a separate thread than the sync // thread and so you must consider the multi-threaded implications of the // work that you do in this method." }