Porting DTMF post dial wait feature.
Bug: 10459289
Change-Id: Ib279fcdf71857abae218b70081f7da569901d80c
diff --git a/src/com/android/phone/CallCommandService.java b/src/com/android/phone/CallCommandService.java
index 72273ee..aaa3190 100644
--- a/src/com/android/phone/CallCommandService.java
+++ b/src/com/android/phone/CallCommandService.java
@@ -220,4 +220,20 @@
Log.e(TAG, "Error setting the audio mode.", e);
}
}
+
+ @Override
+ public void postDialCancel(int callId) throws RemoteException {
+ final CallResult result = mCallModeler.getCallWithId(callId);
+ if (result != null) {
+ result.getConnection().cancelPostDial();
+ }
+ }
+
+ @Override
+ public void postDialWaitContinue(int callId) throws RemoteException {
+ final CallResult result = mCallModeler.getCallWithId(callId);
+ if (result != null) {
+ result.getConnection().proceedAfterWaitChar();
+ }
+ }
}