Plumb through the post-dial DTMF wait/response
Connect the CallServices with the InCallService for post-dial DTMF
call flows (and the reverse path, for the wait dialog response).
Bug: 13734588
Change-Id: I5cc06268590c3c424ea6daf216cb205b9c470dac
diff --git a/src/com/android/telecomm/InCallController.java b/src/com/android/telecomm/InCallController.java
index 4bba241..6078186 100644
--- a/src/com/android/telecomm/InCallController.java
+++ b/src/com/android/telecomm/InCallController.java
@@ -142,6 +142,16 @@
}
}
+ void onPostDialWait(Call call, String remaining) {
+ if (mInCallService != null) {
+ Log.i(this, "Calling onPostDialWait, remaining = %s", remaining);
+ try {
+ mInCallService.setPostDialWait(mCallIdMapper.getCallId(call), remaining);
+ } catch (RemoteException ignored) {
+ }
+ }
+ }
+
void bringToForeground(boolean showDialpad) {
if (mInCallService != null) {
try {