Merge change 22984 into eclair
* changes: fix AbstractThreadedSyncAdapter to actually cancel syncs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user