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

Commit 03b15b97 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Don't check for services before boot-complete

fixes the build

Change-Id: I2ee55d9aaad53dac16fa8182df3a7b43b57eb719
parent d2c78b39
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