diff options
author | Etan Cohen <etancohen@google.com> | 2015-04-24 15:16:10 -0700 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2015-04-24 15:22:03 -0700 |
commit | 1418054108e3811db80e28496b335514b51b10f4 (patch) | |
tree | 0d79e25847ae0dc681b36014ce6fe64c89c5be93 /telecomm/java/android/telecom/Phone.java | |
parent | fd840dd60328d2ad6e30dd438c7429670ce82ec3 (diff) |
Rename removeVideoCallListener to unregisterCallback
Change-Id: Ie6b5ac9131e81900efc7d3fa67056aa47d566a44
Diffstat (limited to 'telecomm/java/android/telecom/Phone.java')
-rw-r--r-- | telecomm/java/android/telecom/Phone.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telecomm/java/android/telecom/Phone.java b/telecomm/java/android/telecom/Phone.java index 9f47898e7136..3d9acda688c8 100644 --- a/telecomm/java/android/telecom/Phone.java +++ b/telecomm/java/android/telecom/Phone.java @@ -125,7 +125,7 @@ public final class Phone { InCallService.VideoCall videoCall = call.getVideoCall(); if (videoCall != null) { - videoCall.removeVideoCallListener(); + videoCall.unregisterCallback(); } fireCallRemoved(call); } @@ -174,7 +174,7 @@ public final class Phone { for (Call call : mCalls) { InCallService.VideoCall videoCall = call.getVideoCall(); if (videoCall != null) { - videoCall.removeVideoCallListener(); + videoCall.unregisterCallback(); } if (call.getState() != Call.STATE_DISCONNECTED) { call.internalSetDisconnected(); |