Update config loader to use CONFIG_SERVICE_INTERFACE
Change-Id: I3883e57abd25aeaf22af4f6f951b9ccf001a9911
diff --git a/src/com/android/phone/CarrierConfigLoader.java b/src/com/android/phone/CarrierConfigLoader.java
index ede032d..0c34c5f 100644
--- a/src/com/android/phone/CarrierConfigLoader.java
+++ b/src/com/android/phone/CarrierConfigLoader.java
@@ -183,7 +183,7 @@
}
List<String> carrierPackageNames = TelephonyManager.from(mContext)
.getCarrierPackageNamesForIntentAndPhone(
- new Intent(CarrierService.SERVICE_INTERFACE), phoneId);
+ new Intent(CarrierService.CONFIG_SERVICE_INTERFACE), phoneId);
log("Found carrier config app: " + carrierPackageNames);
if (carrierPackageNames != null && carrierPackageNames.size() > 0) {
if (!bindToConfigPackage(carrierPackageNames.get(0),
@@ -278,7 +278,7 @@
/** Binds to the default or carrier config app. */
private boolean bindToConfigPackage(String pkgName, int phoneId, int eventId) {
log("Binding to " + pkgName + " for phone " + phoneId);
- Intent carrierService = new Intent(CarrierService.SERVICE_INTERFACE);
+ Intent carrierService = new Intent(CarrierService.CONFIG_SERVICE_INTERFACE);
carrierService.setPackage(pkgName);
mServiceConnection[phoneId] = new CarrierServiceConnection(phoneId, eventId);
try {