summaryrefslogtreecommitdiff
path: root/telecomm
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2020-11-03 21:29:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-03 21:29:25 +0000
commit730f35321d4e0539f640a9f54336c3e50841acf6 (patch)
tree9d367716130b8f0e4e2841c7caf376b5b2f4eef8 /telecomm
parent344fb48d8e340d2826b10950dc622ca242617bdd (diff)
parentdc46c85da68a5a839366bb961d7bad93926a6d4c (diff)
Merge "Update docs for RttCall#write"
Diffstat (limited to 'telecomm')
-rwxr-xr-xtelecomm/java/android/telecom/Call.java7
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.