Loading src/com/android/server/telecom/InCallController.java +4 −3 Original line number Diff line number Diff line Loading @@ -261,8 +261,6 @@ public final class InCallController extends CallsManagerListenerBase { private void bind() { ThreadUtil.checkOnMainThread(); if (mInCallServices.isEmpty()) { mServiceConnections.clear(); PackageManager packageManager = mContext.getPackageManager(); Intent serviceIntent = new Intent(InCallService.SERVICE_INTERFACE); Loading @@ -289,11 +287,14 @@ public final class InCallController extends CallsManagerListenerBase { continue; } Log.i(this, "Attempting to bind to InCall " + serviceInfo.packageName); InCallServiceConnection inCallServiceConnection = new InCallServiceConnection(); ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name); Log.i(this, "Attempting to bind to InCall %s, is dupe? %b ", serviceInfo.packageName, mServiceConnections.containsKey(componentName)); if (!mServiceConnections.containsKey(componentName)) { Intent intent = new Intent(InCallService.SERVICE_INTERFACE); intent.setComponent(componentName); Loading Loading
src/com/android/server/telecom/InCallController.java +4 −3 Original line number Diff line number Diff line Loading @@ -261,8 +261,6 @@ public final class InCallController extends CallsManagerListenerBase { private void bind() { ThreadUtil.checkOnMainThread(); if (mInCallServices.isEmpty()) { mServiceConnections.clear(); PackageManager packageManager = mContext.getPackageManager(); Intent serviceIntent = new Intent(InCallService.SERVICE_INTERFACE); Loading @@ -289,11 +287,14 @@ public final class InCallController extends CallsManagerListenerBase { continue; } Log.i(this, "Attempting to bind to InCall " + serviceInfo.packageName); InCallServiceConnection inCallServiceConnection = new InCallServiceConnection(); ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name); Log.i(this, "Attempting to bind to InCall %s, is dupe? %b ", serviceInfo.packageName, mServiceConnections.containsKey(componentName)); if (!mServiceConnections.containsKey(componentName)) { Intent intent = new Intent(InCallService.SERVICE_INTERFACE); intent.setComponent(componentName); Loading