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/Call.java b/src/com/android/telecomm/Call.java
index cd64ff8..8f94e1e 100644
--- a/src/com/android/telecomm/Call.java
+++ b/src/com/android/telecomm/Call.java
@@ -59,6 +59,7 @@
void onSuccessfulIncomingCall(Call call, CallInfo callInfo);
void onFailedIncomingCall(Call call);
void onRequestingRingback(Call call, boolean requestingRingback);
+ void onPostDialWait(Call call, String remaining);
}
private static final OnQueryCompleteListener sCallerInfoQueryListener =
@@ -728,6 +729,16 @@
return mCallerInfo == null ? null : mCallerInfo.contactRingtoneUri;
}
+ void onPostDialWait(String remaining) {
+ for (Listener l : mListeners) {
+ l.onPostDialWait(this, remaining);
+ }
+ }
+
+ void postDialContinue(boolean proceed) {
+ getCallService().onPostDialContinue(this, proceed);
+ }
+
/**
* @return True if the call is ringing, else logs the action name.
*/