diff options
author | wangqi <wangqi@google.com> | 2018-03-08 14:24:06 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-08 17:04:17 -0800 |
commit | 6b4f264f40a2b3386c4cd1d8134a8d821be94052 (patch) | |
tree | 7537651b60ee929180a9d93233671e3e49b9ba05 /assets | |
parent | db30a13b91ff62021a3a14b30c6b2c1b2f1d5e3d (diff) |
Optimize characters sent to remote party for RTT chat.
Instead of using things provided by Android of onTextChanged, we compare the
text in EditText with the text in bubble before the change and compute the
delta string need to send to remote party. This way we could minimize
characters sent thus reduce latency.
Bug: 67596257
Test: RttChatMessageTest
PiperOrigin-RevId: 188389325
Change-Id: I3023b484c32b2369ca8720104da74cf6906bb46e
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions