Remove connection substate
Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
This commit is contained in:
@ -233,7 +233,6 @@ public final class Call {
|
||||
private final int mVideoState;
|
||||
private final StatusHints mStatusHints;
|
||||
private final Bundle mExtras;
|
||||
private final int mCallSubstate;
|
||||
|
||||
/**
|
||||
* Whether the supplied capabilities supports the specified capability.
|
||||
@ -430,14 +429,6 @@ public final class Call {
|
||||
return mExtras;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The substate of the {@code Call}.
|
||||
* @hide
|
||||
*/
|
||||
public int getCallSubstate() {
|
||||
return mCallSubstate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o instanceof Details) {
|
||||
@ -456,8 +447,7 @@ public final class Call {
|
||||
Objects.equals(mGatewayInfo, d.mGatewayInfo) &&
|
||||
Objects.equals(mVideoState, d.mVideoState) &&
|
||||
Objects.equals(mStatusHints, d.mStatusHints) &&
|
||||
Objects.equals(mExtras, d.mExtras) &&
|
||||
Objects.equals(mCallSubstate, d.mCallSubstate);
|
||||
Objects.equals(mExtras, d.mExtras);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -477,8 +467,7 @@ public final class Call {
|
||||
Objects.hashCode(mGatewayInfo) +
|
||||
Objects.hashCode(mVideoState) +
|
||||
Objects.hashCode(mStatusHints) +
|
||||
Objects.hashCode(mExtras) +
|
||||
Objects.hashCode(mCallSubstate);
|
||||
Objects.hashCode(mExtras);
|
||||
}
|
||||
|
||||
/** {@hide} */
|
||||
@ -495,8 +484,7 @@ public final class Call {
|
||||
GatewayInfo gatewayInfo,
|
||||
int videoState,
|
||||
StatusHints statusHints,
|
||||
Bundle extras,
|
||||
int callSubstate) {
|
||||
Bundle extras) {
|
||||
mHandle = handle;
|
||||
mHandlePresentation = handlePresentation;
|
||||
mCallerDisplayName = callerDisplayName;
|
||||
@ -510,7 +498,6 @@ public final class Call {
|
||||
mVideoState = videoState;
|
||||
mStatusHints = statusHints;
|
||||
mExtras = extras;
|
||||
mCallSubstate = callSubstate;
|
||||
}
|
||||
}
|
||||
|
||||
@ -889,8 +876,7 @@ public final class Call {
|
||||
parcelableCall.getGatewayInfo(),
|
||||
parcelableCall.getVideoState(),
|
||||
parcelableCall.getStatusHints(),
|
||||
parcelableCall.getExtras(),
|
||||
parcelableCall.getCallSubstate());
|
||||
parcelableCall.getExtras());
|
||||
boolean detailsChanged = !Objects.equals(mDetails, details);
|
||||
if (detailsChanged) {
|
||||
mDetails = details;
|
||||
|
Reference in New Issue
Block a user