diff options
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 51cd11e6e..2b7540091 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -377,7 +377,7 @@ public class InCallPresenter implements CallList.Listener, // Since a call has been added we are no longer waiting for Telecom to send us a // call. setBoundAndWaitingForOutgoingCall(false, null); - call.addListener(mCallListener); + call.registerCallback(mCallCallback); } /** @@ -385,7 +385,7 @@ public class InCallPresenter implements CallList.Listener, * method invocation from InCallService. */ public void onCallRemoved(android.telecom.Call call) { - call.removeListener(mCallListener); + call.unregisterCallback(mCallCallback); } public void onCanAddCallChanged(boolean canAddCall) { |