diff options
-rw-r--r-- | InCallUI/src/com/android/incallui/Call.java | 9 | ||||
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallServiceImpl.java | 1 |
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()); |