diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-04-04 23:56:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-04 23:56:31 +0000 |
commit | 9f14cd7ee2e46185f80ce9c364b22687a1d651ff (patch) | |
tree | d2efff2512c24fa05f9fd87c383d4da3f89d4fe9 /java/com/android/dialer/rtt/rtt_transcript.proto | |
parent | d5408c9423f20bef650ca838ff66bb5ecf60f818 (diff) | |
parent | 612d13a1295afb0f0b9e8217fc0efb211836c949 (diff) |
Merge changes If1ae5505,I65e9c6ac,I1a72ca86,I417b46ed,I60f97924
* changes:
Better support for multi call.
Migrate RTT chat history to use proto buffer.
Disable RTT request button when the call is not active yet.
Use the default phone account for a voice call when the call log item is for Duo.
Explicitly hide the badge in ContactPhotoView when it shouldn't be shown.
Diffstat (limited to 'java/com/android/dialer/rtt/rtt_transcript.proto')
-rw-r--r-- | java/com/android/dialer/rtt/rtt_transcript.proto | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/java/com/android/dialer/rtt/rtt_transcript.proto b/java/com/android/dialer/rtt/rtt_transcript.proto new file mode 100644 index 000000000..a580b0d2f --- /dev/null +++ b/java/com/android/dialer/rtt/rtt_transcript.proto @@ -0,0 +1,30 @@ +syntax = "proto2"; + +option java_package = "com.android.dialer.rtt"; +option java_multiple_files = true; +option optimize_for = LITE_RUNTIME; + + +package com.android.dialer.rtt; + +// RTT transcript which contains chat history of a RTT call. +message RttTranscript { + // Unique ID used for database. + optional string id = 1; + // Phone number of RTT call. + optional string number = 2; + // Timestamp when the RTT call is created. + optional int64 timestamp = 3; + // Chat messages. + repeated RttTranscriptMessage messages = 4; +} + +// Single chat message inside a RTT call. +message RttTranscriptMessage { + optional string content = 1; + optional int64 timestamp = 2; + // Whether this message is sent from local device or received from remote + // party. + optional bool is_remote = 3; + optional bool is_finished = 4; +}
\ No newline at end of file |