summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSailesh Nepal <sail@google.com>2015-05-14 17:39:41 -0700
committerSailesh Nepal <sail@google.com>2015-05-14 17:39:41 -0700
commit40451b3977f51bd0726b645f73167869f71d4e4c (patch)
tree1437cbf70586df50b32da964f3affcddbcf2dc2a
parent5bcbf857d129f4513e562801a4e88077b2655ade (diff)
downloadframeworks_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.java2
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);
}
});
}