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

Commit f2d643cf authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Gerrit Code Review
Browse files

Merge "Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter."

parents bfe1b801 8014cbff
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(