summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/ParcelableCall.java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2019-11-05 15:47:58 -0800
committerTyler Gunn <tgunn@google.com>2019-11-12 10:43:09 -0800
commitd1fdf3a85be12a846088a22dde27482e1d467f32 (patch)
tree34993aa26430bb591d0037df0dea74779f167456 /telecomm/java/android/telecom/ParcelableCall.java
parente8a5b8a76d30c21067a5ce391b15e1da750eb84c (diff)
Cleanup video provider binder code.
1. Ensure we always unlink for death from the VideoCallImpl. 2. Ensure we compare the binders in the Call instance properly so that we are not always replacing the VideoCallImpl used. 3. Ensure we cleanup the VideoCallImpl when its being removed. Test: Manual testing of video calls for regressions. Bug: 121156974 Change-Id: I440e8fb4ab9a5051ee02358933c495de736e2bd0
Diffstat (limited to 'telecomm/java/android/telecom/ParcelableCall.java')
-rw-r--r--telecomm/java/android/telecom/ParcelableCall.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/ParcelableCall.java b/telecomm/java/android/telecom/ParcelableCall.java
index aa50991b118c..fdc324308d7a 100644
--- a/telecomm/java/android/telecom/ParcelableCall.java
+++ b/telecomm/java/android/telecom/ParcelableCall.java
@@ -21,6 +21,7 @@ import android.annotation.UnsupportedAppUsage;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
+import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
@@ -225,6 +226,10 @@ public final class ParcelableCall implements Parcelable {
return mVideoCall;
}
+ public IVideoProvider getVideoProvider() {
+ return mVideoCallProvider;
+ }
+
public boolean getIsRttCallChanged() {
return mIsRttCallChanged;
}