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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user