Move ACTION_CONNECTION_SERVICE into ConnectionService. (3/3)
Bug: 16416927
Change-Id: If2d1c19134d2245677f7e0b3d94b118d9b50e751
diff --git a/src/com/android/phone/CallFeaturesSetting.java b/src/com/android/phone/CallFeaturesSetting.java
index 5dba472..39197f6 100644
--- a/src/com/android/phone/CallFeaturesSetting.java
+++ b/src/com/android/phone/CallFeaturesSetting.java
@@ -56,6 +56,7 @@
import android.provider.ContactsContract.CommonDataKinds;
import android.provider.MediaStore;
import android.provider.Settings;
+import android.telecomm.ConnectionService;
import android.telecomm.TelecommManager;
import android.telephony.PhoneNumberUtils;
import android.text.TextUtils;
@@ -2257,7 +2258,7 @@
}
private void loadConnectionServiceEntries() {
- Intent intent = new Intent(TelecommManager.ACTION_CONNECTION_SERVICE);
+ Intent intent = new Intent(ConnectionService.SERVICE_INTERFACE);
for (ResolveInfo entry : getPackageManager().queryIntentServices(intent, 0)) {
ServiceInfo serviceInfo = entry.serviceInfo;
if (serviceInfo != null) {