Merge change 22984 into eclair

* changes:
  fix AbstractThreadedSyncAdapter to actually cancel syncs
This commit is contained in:
Android (Google) Code Review
2009-08-27 16:18:14 -07:00

View File

@@ -105,7 +105,8 @@ public abstract class AbstractThreadedSyncAdapter {
// check it and when we use it
synchronized (mSyncThreadLock) {
if (mSyncThread != null
&& mSyncThread.mSyncContext.getISyncContext() == syncContext) {
&& mSyncThread.mSyncContext.getISyncContext().asBinder()
== syncContext.asBinder()) {
mSyncThread.interrupt();
}
}