diff options
author | Hall Liu <hallliu@google.com> | 2020-11-03 21:47:59 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-11-03 21:47:59 +0000 |
commit | 021daefce0e2bb11e65386fc5173d1142a370db7 (patch) | |
tree | 503928ced4970190d7a49043a67fb360d8f31960 /telecomm | |
parent | 4e1083c866bc214fae612487d1efc5fab21d8c78 (diff) | |
parent | ef378a0df4b5ea6ed7eb4dc1343769a1e8d4e2e2 (diff) |
Merge "Update docs for RttCall#write" am: 730f35321d am: ef378a0df4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480257
Change-Id: I5d6b4df82724dbeecdb88b65f600912224626f8b
Diffstat (limited to 'telecomm')
-rwxr-xr-x | telecomm/java/android/telecom/Call.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/telecomm/java/android/telecom/Call.java b/telecomm/java/android/telecom/Call.java index a85eb53605d6..1238e7b69a87 100755 --- a/telecomm/java/android/telecom/Call.java +++ b/telecomm/java/android/telecom/Call.java @@ -1468,8 +1468,11 @@ public final class Call { /** * Writes the string {@param input} into the outgoing text stream for this RTT call. Since - * RTT transmits text in real-time, this method should be called once for each character - * the user enters into the device. + * RTT transmits text in real-time, this method should be called once for each user action. + * For example, when the user enters text as discrete characters using the keyboard, this + * method should be called once for each character. However, if the user enters text by + * pasting or autocomplete, the entire contents of the pasted or autocompleted text should + * be sent in one call to this method. * * This method is not thread-safe -- calling it from multiple threads simultaneously may * lead to interleaved text. |