Remove dead hidden ConnectivityManager and NetworkInfo APIs.
Change-Id: Ifa44c7553c7c45ebe261a2a124d9bf8d6f96c690
This commit is contained in:
@@ -120,7 +120,7 @@ public class WirelessSettings extends SettingsPreferenceFragment implements Inde
|
|||||||
mManageMobilePlanMessage = null;
|
mManageMobilePlanMessage = null;
|
||||||
Resources resources = getActivity().getResources();
|
Resources resources = getActivity().getResources();
|
||||||
|
|
||||||
NetworkInfo ni = mCm.getProvisioningOrActiveNetworkInfo();
|
NetworkInfo ni = mCm.getActiveNetworkInfo();
|
||||||
if (mTm.hasIccCard() && (ni != null)) {
|
if (mTm.hasIccCard() && (ni != null)) {
|
||||||
// Check for carrier apps that can handle provisioning first
|
// Check for carrier apps that can handle provisioning first
|
||||||
Intent provisioningIntent = new Intent(TelephonyIntents.ACTION_CARRIER_SETUP);
|
Intent provisioningIntent = new Intent(TelephonyIntents.ACTION_CARRIER_SETUP);
|
||||||
|
Reference in New Issue
Block a user