Merge "move ACTION_CARRIER_SETUP intent to public api"

am: d989558616

Change-Id: Ic1b747c58bd8dc786e98bb3786e7ccecee7889be
This commit is contained in:
Chen Xu
2017-02-25 01:11:04 +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()) {