re-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync()

This commit is contained in:
Fred Quintana
2009-08-31 17:00:41 -07:00
parent ec5d9fb47d
commit fcb14322f4

View File

@@ -111,8 +111,7 @@ public abstract class AbstractThreadedSyncAdapter {
if (mSyncThread != null
&& mSyncThread.mSyncContext.getISyncContext().asBinder()
== syncContext.asBinder()) {
// TODO: figure out why canceling causes a hang
// mSyncThread.interrupt();
mSyncThread.interrupt();
}
}
}