Merge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616

am: fbf747bb76

Change-Id: I4fa43c07a96d070c209e6c71a7c5227958aef2ee
This commit is contained in:
Chen Xu
2017-02-25 01:17:45 +00:00
committed by android-build-merger

View File

@@ -125,7 +125,7 @@ public class WirelessSettings extends SettingsPreferenceFragment implements Inde
NetworkInfo ni = mCm.getActiveNetworkInfo();
if (mTm.hasIccCard() && (ni != null)) {
// Check for carrier apps that can handle provisioning first
Intent provisioningIntent = new Intent(TelephonyIntents.ACTION_CARRIER_SETUP);
Intent provisioningIntent = new Intent(Intent.ACTION_CARRIER_SETUP);
List<String> carrierPackages =
mTm.getCarrierPackageNamesForIntent(provisioningIntent);
if (carrierPackages != null && !carrierPackages.isEmpty()) {