summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivedita Sarkar <nsarkar@codeaurora.org>2015-11-23 12:14:56 -0800
committerdoc HD <doc.divxm@gmail.com>2016-05-22 12:52:31 +0300
commitaaf5d3e942f41553acab66ddffaf08079c49e01f (patch)
treea73571f5fb62ca3d9b2b09749fc7d92c2ec664cd
parent8acd0161e87dd7a2abc2d977035099cb41d8589b (diff)
IMS: Unbundle capability constant for add participant from frameworks
- Unbundle InCallUI from dependency on frameworks - Move capability constant for add participant to QtiVideoCallConstants - Use the above constant from QtiVideoCallConstants in InCallUI Change-Id: I543f4a7161f19f4661b80ed18b53b5fd68af5015 CRs-Fixed: 933812
-rw-r--r--src/com/android/incallui/CallButtonPresenter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/incallui/CallButtonPresenter.java b/src/com/android/incallui/CallButtonPresenter.java
index 1e9380d6..6fd3eb5c 100644
--- a/src/com/android/incallui/CallButtonPresenter.java
+++ b/src/com/android/incallui/CallButtonPresenter.java
@@ -39,6 +39,7 @@ import com.android.incallui.InCallPresenter.IncomingCallListener;
import com.android.incallui.InCallPresenter.InCallDetailsListener;
import java.util.Objects;
+import org.codeaurora.QtiVideoCallConstants;
/**
* Logic for call buttons.
@@ -467,7 +468,7 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto
final boolean showMute = call.can(android.telecom.Call.Details.CAPABILITY_MUTE);
final boolean showAddParticipant = call.can(
- android.telecom.Call.Details.CAPABILITY_ADD_PARTICIPANT);
+ QtiVideoCallConstants.CAPABILITY_ADD_PARTICIPANT);
final CallRecorder recorder = CallRecorder.getInstance();
boolean showCallRecordOption = recorder.isEnabled()