summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-07-01 12:20:07 -0700
committerTyler Gunn <tgunn@google.com>2014-07-01 14:57:28 -0700
commit503772eb501d208184cc66bf1ee699640e063093 (patch)
treed0ca95a6672abd9c5ce602ed7f32c92b4528dce8
parent780800d53bb68f0565c1cf3e827a870c4e0e6db7 (diff)
API changes to support telephony-telecomm-incall reporting of changes to
the currently applicable call features (eg VoLTE, VoWIFI, etc). Bug: 15987281 Change-Id: I5080deb8d4c514a8a94353778a170fdfc9139e05
-rw-r--r--InCallUI/src/com/android/incallui/Call.java9
-rw-r--r--InCallUI/src/com/android/incallui/InCallServiceImpl.java1
2 files changed, 10 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/Call.java b/InCallUI/src/com/android/incallui/Call.java
index c0e5fd06b..d87c49384 100644
--- a/InCallUI/src/com/android/incallui/Call.java
+++ b/InCallUI/src/com/android/incallui/Call.java
@@ -115,6 +115,7 @@ public final class Call {
private RemoteCallVideoProvider mCallVideoProvider;
private String mParentCallId;
private List<String> mChildCallIds;
+ private int mFeatures;
private InCallVideoClient mCallVideoClient;
@@ -284,6 +285,14 @@ public final class Call {
return mParentCallId;
}
+ public int getFeatures() {
+ return mFeatures;
+ }
+
+ public void setFeatures(int features) {
+ mFeatures = features;
+ }
+
@Override
public String toString() {
return String.format(Locale.US, "[%s, %s, %s, children:%s, parent:%s]",
diff --git a/InCallUI/src/com/android/incallui/InCallServiceImpl.java b/InCallUI/src/com/android/incallui/InCallServiceImpl.java
index a76afa293..121321a13 100644
--- a/InCallUI/src/com/android/incallui/InCallServiceImpl.java
+++ b/InCallUI/src/com/android/incallui/InCallServiceImpl.java
@@ -130,6 +130,7 @@ public class InCallServiceImpl extends InCallService {
call.setState(translateState(telecommCall.getState()));
call.setParentId(telecommCall.getParentCallId());
call.setChildCallIds(telecommCall.getChildCallIds());
+ call.setFeatures(telecommCall.getFeatures());
try {
call.setCallVideoProvider(telecommCall.getCallVideoProvider());