am 08df90cf: am 5d0fafe8: Merge "Be sure and report NO_CONNECTIVITY when needed." into gingerbread

* commit '08df90cf802172658dc54f09484d83eb080a46cf':
  Be sure and report NO_CONNECTIVITY when needed.
This commit is contained in:
Robert Greenwalt
2010-12-22 11:35:06 -08:00
committed by Android Git Automerger

View File

@@ -1097,6 +1097,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
// gotten a positive report we don't want to overwrite, but if not we need to // gotten a positive report we don't want to overwrite, but if not we need to
// clear this now to turn our cellular sig strength white // clear this now to turn our cellular sig strength white
mDefaultInetConditionPublished = 0; mDefaultInetConditionPublished = 0;
intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, true);
} }
intent.putExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO, switchTo); intent.putExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO, switchTo);
} else { } else {