From 91ab7e596474583f0b9eb7eceaa152d98a75392b Mon Sep 17 00:00:00 2001 From: Jay Shrauner Date: Thu, 16 Apr 2015 12:29:07 -0700 Subject: DO NOT MERGE Remove connection substate Bug:20300433 Change-Id: Iec4a56229ee30f3183c9f4cf37bed3f028eed155 --- InCallUI/src/com/android/incallui/Call.java | 7 +-- .../com/android/incallui/VideoCallFragment.java | 52 ---------------------- .../com/android/incallui/VideoCallPresenter.java | 22 --------- 3 files changed, 1 insertion(+), 80 deletions(-) (limited to 'InCallUI/src') diff --git a/InCallUI/src/com/android/incallui/Call.java b/InCallUI/src/com/android/incallui/Call.java index 3d6f2032e..a3fcd4db7 100644 --- a/InCallUI/src/com/android/incallui/Call.java +++ b/InCallUI/src/com/android/incallui/Call.java @@ -441,10 +441,6 @@ public final class Call { return mTelecommCall.getDetails().getVideoState(); } - public int getCallSubstate() { - return mTelecommCall.getDetails().getCallSubstate(); - } - public boolean isVideoCall(Context context) { return CallUtil.isVideoEnabled(context) && VideoProfile.VideoState.isVideo(getVideoState()); @@ -522,7 +518,7 @@ public final class Call { @Override public String toString() { return String.format(Locale.US, "[%s, %s, %s, children:%s, parent:%s, conferenceable:%s, " + - "videoState:%d, callSubState:%d, mSessionModificationState:%d, VideoSettings:%s]", + "videoState:%d, mSessionModificationState:%d, VideoSettings:%s]", mId, State.toString(getState()), android.telecom.Call.Details @@ -531,7 +527,6 @@ public final class Call { getParentId(), this.mTelecommCall.getConferenceableCalls(), mTelecommCall.getDetails().getVideoState(), - mTelecommCall.getDetails().getCallSubstate(), mSessionModificationState, getVideoSettings()); } diff --git a/InCallUI/src/com/android/incallui/VideoCallFragment.java b/InCallUI/src/com/android/incallui/VideoCallFragment.java index 1d711a882..2ce7b8910 100644 --- a/InCallUI/src/com/android/incallui/VideoCallFragment.java +++ b/InCallUI/src/com/android/incallui/VideoCallFragment.java @@ -598,58 +598,6 @@ public class VideoCallFragment extends BaseFragment