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

Commit 46aae98b authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am f2d643cf: Merge "Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter."

* commit 'f2d643cf':
  Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.
parents c40e46e8 f2d643cf
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -160,10 +160,13 @@ public abstract class AbstractThreadedSyncAdapter {
                    if (mAutoInitialize
                            && extras != null
                            && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
                        try {
                            if (ContentResolver.getIsSyncable(account, authority) < 0) {
                                ContentResolver.setIsSyncable(account, authority, 1);
                            }
                        } finally {
                            syncContextClient.onFinished(new SyncResult());
                        }
                        return;
                    }
                    SyncThread syncThread = new SyncThread(