diff options
author | wangqi <wangqi@google.com> | 2018-03-16 16:16:55 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-16 17:39:10 -0700 |
commit | fce3a793a925791b6ed22d8132db55cd6d7d3f15 (patch) | |
tree | 87c8cb9fc1021fdb2f107b92e5a087fc91cac173 /java/com/android/incallui/rtt/impl/RttChatFragment.java | |
parent | 264f287c9495a8e34ea0e28fee0f74d1fdcb6bc8 (diff) |
Use single return to break bubble of RTT chat.
Also change "done" button to "send" in input box and disallow multiple line since return will be interpreted as "send".
Bug: 67596257
Test: manual
PiperOrigin-RevId: 189409725
Change-Id: I3d3bf3e11cd04d6689125399f4567e88ee3f28f0
Diffstat (limited to 'java/com/android/incallui/rtt/impl/RttChatFragment.java')
-rw-r--r-- | java/com/android/incallui/rtt/impl/RttChatFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/incallui/rtt/impl/RttChatFragment.java b/java/com/android/incallui/rtt/impl/RttChatFragment.java index dd55ccff7..90bf199b2 100644 --- a/java/com/android/incallui/rtt/impl/RttChatFragment.java +++ b/java/com/android/incallui/rtt/impl/RttChatFragment.java @@ -206,7 +206,7 @@ public class RttChatFragment extends Fragment @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { - if (actionId == EditorInfo.IME_ACTION_DONE) { + if (actionId == EditorInfo.IME_ACTION_SEND) { submitButton.performClick(); return true; } |