Loading core/java/android/content/SyncManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
core/java/android/content/SyncManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading