Merge "Be sure and report NO_CONNECTIVITY when needed." into gingerbread

This commit is contained in:
Robert Greenwalt
2010-12-21 16:02:13 -08:00
committed by Android (Google) Code Review

View File

@ -997,6 +997,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
// 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
mDefaultInetConditionPublished = 0;
intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, true);
}
intent.putExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO, switchTo);
} else {