Move ACTION_CONNECTION_SERVICE into ConnectionService. (2/3)
Bug: 16416927
Change-Id: If2d1c19134d2245677f7e0b3d94b118d9b50e751
diff --git a/src/com/android/telecomm/ConnectionServiceRepository.java b/src/com/android/telecomm/ConnectionServiceRepository.java
index 48b0ebb..cb8d95d 100644
--- a/src/com/android/telecomm/ConnectionServiceRepository.java
+++ b/src/com/android/telecomm/ConnectionServiceRepository.java
@@ -21,7 +21,7 @@
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.content.pm.ServiceInfo;
-import android.telecomm.TelecommManager;
+import android.telecomm.ConnectionService;
import java.util.ArrayList;
import java.util.Collection;
@@ -40,7 +40,7 @@
Collection<ConnectionServiceWrapper> lookupServices() {
PackageManager packageManager = TelecommApp.getInstance().getPackageManager();
- Intent intent = new Intent(TelecommManager.ACTION_CONNECTION_SERVICE);
+ Intent intent = new Intent(ConnectionService.SERVICE_INTERFACE);
ArrayList<ConnectionServiceWrapper> services = new ArrayList<>();
for (ResolveInfo entry : packageManager.queryIntentServices(intent, 0)) {