summaryrefslogtreecommitdiff
path: root/telecomm
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2020-11-03 22:02:01 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-11-03 22:02:01 +0000
commit60b95316bf8795b41841f6ab376cdf2a020a57be (patch)
tree0fe2294d046652db147a4509f7af22ee99542229 /telecomm
parentc464c4700723cdb0af2a301f3bf54387eed92231 (diff)
parent021daefce0e2bb11e65386fc5173d1142a370db7 (diff)
Merge "Update docs for RttCall#write" am: 730f35321d am: ef378a0df4 am: 021daefce0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480257 Change-Id: Ifd0ab41e8e0e658defab6ab4289b7567be181fea
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.