diff options
author | wangqi <wangqi@google.com> | 2018-04-30 11:55:07 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-30 18:16:45 -0700 |
commit | bed9e2f7d26e21c4f68cb5b3f0641e3110fbef77 (patch) | |
tree | 798731922b81da082ae8da9b1b76284d5c3b4b59 /java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java | |
parent | bae70895a77ebb7c24ec16aa73b986cb11434c67 (diff) |
Store RTT transcript message received when UI is in background.
If the call disconnects when RTT UI is in background, any messages received from remote should be saved to transcript. RttCallPrensenter might not be available at this point, so the job is done inside DialerCall#onRemovedFromCallList
Bug: 78576798
Test: presubmit
PiperOrigin-RevId: 194821868
Change-Id: I10381b1c292f918763360c7a4bcd0470250f2293
Diffstat (limited to 'java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java')
-rw-r--r-- | java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java b/java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java index 2beea9530..56161eccc 100644 --- a/java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java +++ b/java/com/android/incallui/rtt/impl/RttChatMessageViewHolder.java @@ -25,6 +25,7 @@ import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.LinearLayout.LayoutParams; import android.widget.TextView; +import com.android.incallui.rtt.protocol.RttChatMessage; /** ViewHolder class for RTT chat message bubble. */ public class RttChatMessageViewHolder extends ViewHolder { |