Merge "Change TelephonyManager method name to accurately reflect functionality." into lmp-dev

This commit is contained in:
Diego Pontoriero
2014-08-28 22:38:46 +00:00
committed by Android (Google) Code Review

View File

@@ -130,7 +130,7 @@ public class WirelessSettings extends SettingsPreferenceFragment
// Check for carrier apps that can handle provisioning first
Intent provisioningIntent = new Intent(TelephonyIntents.ACTION_CARRIER_SETUP);
List<String> carrierPackages =
mTm.getCarrierPackageNamesForBroadcastIntent(provisioningIntent);
mTm.getCarrierPackageNamesForIntent(provisioningIntent);
if (carrierPackages != null && !carrierPackages.isEmpty()) {
if (carrierPackages.size() != 1) {
Log.w(TAG, "Multiple matching carrier apps found, launching the first.");