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

Commit 55ccb887 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Don't check for services before boot-complete" into honeycomb

parents f900fed8 03b15b97
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1375,10 +1375,10 @@ public class SyncManager implements OnAccountsUpdateListener {
            long nextPendingSyncTime = Long.MAX_VALUE;
            // Setting the value here instead of a method because we want the dumpsys logs
            // to have the most recent value used.
            mDataConnectionIsConnected =
                    getConnectivityManager().getActiveNetworkInfo().isConnected();
            try {
                waitUntilReadyToRun();
                NetworkInfo info = getConnectivityManager().getActiveNetworkInfo();
                mDataConnectionIsConnected = (info != null) && info.isConnected();
                mSyncManagerWakeLock.acquire();
                // Always do this first so that we be sure that any periodic syncs that
                // are ready to run have been converted into pending syncs. This allows the