am cef29578: Merge "Change local names for greater clarity." into honeycomb

* commit 'cef295780ade72a26201c0c92ed2b64fde03a261':
  Change local names for greater clarity.
This commit is contained in:
Robert Greenwalt
2011-01-11 10:18:05 -08:00
committed by Android Git Automerger

View File

@@ -1377,8 +1377,8 @@ public class SyncManager implements OnAccountsUpdateListener {
// to have the most recent value used.
try {
waitUntilReadyToRun();
NetworkInfo info = getConnectivityManager().getActiveNetworkInfo();
mDataConnectionIsConnected = (info != null) && info.isConnected();
NetworkInfo networkInfo = getConnectivityManager().getActiveNetworkInfo();
mDataConnectionIsConnected = (networkInfo != null) && networkInfo.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