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
(cherry picked from commit a3cb9e34db5952f0852c1a3230870cc6e378f246)
diff --git a/src/com/android/telecomm/InCallController.java b/src/com/android/telecomm/InCallController.java
index a8d54fa..1318825 100644
--- a/src/com/android/telecomm/InCallController.java
+++ b/src/com/android/telecomm/InCallController.java
@@ -257,8 +257,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());
}
}