Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a640c49e authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22984 into eclair

* changes:
  fix AbstractThreadedSyncAdapter to actually cancel syncs
parents bfa1d083 b19b4c71
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
                }
            }