Pass through video state when answering a call.
Bug: 16013878
Bug: 16015750
Change-Id: I26af541c30cc296bb3b3f85c06a2e097d0b58547
diff --git a/src/com/android/telecomm/ConnectionServiceWrapper.java b/src/com/android/telecomm/ConnectionServiceWrapper.java
index 870d61c..a47dc09 100644
--- a/src/com/android/telecomm/ConnectionServiceWrapper.java
+++ b/src/com/android/telecomm/ConnectionServiceWrapper.java
@@ -632,11 +632,11 @@
}
/** @see ConnectionService#answer(String) */
- void answer(Call call) {
+ void answer(Call call, int videoState) {
if (isServiceValid("answer")) {
try {
- logOutgoing("answer %s", mCallIdMapper.getCallId(call));
- mServiceInterface.answer(mCallIdMapper.getCallId(call));
+ logOutgoing("answer %s %d", mCallIdMapper.getCallId(call), videoState);
+ mServiceInterface.answer(mCallIdMapper.getCallId(call), videoState);
} catch (RemoteException e) {
}
}