From 40451b3977f51bd0726b645f73167869f71d4e4c Mon Sep 17 00:00:00 2001 From: Sailesh Nepal Date: Thu, 14 May 2015 17:39:41 -0700 Subject: [PATCH] Fix post dial for remote connections Use the correct callback (onPostDialChar instead of onPostDialWait). This fixes a bug where every remote call would prompt the user to send tones after the call became active. BUG: 21004101 Change-Id: I1656a4266d0028ef29494a3cee169180267e16cd --- telecomm/java/android/telecom/RemoteConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecomm/java/android/telecom/RemoteConnection.java b/telecomm/java/android/telecom/RemoteConnection.java index 08485a30277b3..1d6e15c1282b9 100644 --- a/telecomm/java/android/telecom/RemoteConnection.java +++ b/telecomm/java/android/telecom/RemoteConnection.java @@ -960,7 +960,7 @@ public final class RemoteConnection { record.getHandler().post(new Runnable() { @Override public void run() { - callback.onPostDialWait(connection, String.valueOf(nextChar)); + callback.onPostDialChar(connection, nextChar); } }); }