DO NOT MERGE. Implement connection error dialogs (2/4)
Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.
Bug: 15195720
Bug: 15117141
Change-Id: Idbd822a4eed897676663da008071c6050cc79616
diff --git a/src/com/android/telecomm/InCallController.java b/src/com/android/telecomm/InCallController.java
index 4bba241..8812b6b 100644
--- a/src/com/android/telecomm/InCallController.java
+++ b/src/com/android/telecomm/InCallController.java
@@ -255,8 +255,8 @@
if (state == CallState.DISCONNECTED && call.getHandoffCallServiceDescriptor() != null) {
state = CallState.ACTIVE;
}
- return new InCallCall(callId, state, call.getDisconnectCause(), capabilities,
- call.getConnectTimeMillis(), call.getHandle(), call.getGatewayInfo(), descriptor,
- call.getHandoffCallServiceDescriptor());
+ return new InCallCall(callId, state, call.getDisconnectCause(), call.getDisconnectMessage(),
+ capabilities, call.getConnectTimeMillis(), call.getHandle(), call.getGatewayInfo(),
+ descriptor, call.getHandoffCallServiceDescriptor());
}
}