diff options
author | Sailesh Nepal <sail@google.com> | 2015-05-14 17:39:41 -0700 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2015-05-14 17:39:41 -0700 |
commit | 40451b3977f51bd0726b645f73167869f71d4e4c (patch) | |
tree | 1437cbf70586df50b32da964f3affcddbcf2dc2a | |
parent | 5bcbf857d129f4513e562801a4e88077b2655ade (diff) | |
download | frameworks_base-40451b3977f51bd0726b645f73167869f71d4e4c.zip frameworks_base-40451b3977f51bd0726b645f73167869f71d4e4c.tar.gz frameworks_base-40451b3977f51bd0726b645f73167869f71d4e4c.tar.bz2 |
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
-rw-r--r-- | telecomm/java/android/telecom/RemoteConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/RemoteConnection.java b/telecomm/java/android/telecom/RemoteConnection.java index 08485a3..1d6e15c 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); } }); } |