diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-03 00:51:17 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-03 00:51:17 +0000 |
commit | a0bd92e4873b22353d96b0752a29562fd243634e (patch) | |
tree | f3dc9deba2708820071417dba5bad88108797b88 /java/com/android/dialer/voicemail/listui | |
parent | e885c6acb4910e45c2313c9715aff137c5ca9357 (diff) | |
parent | a4ddbac290d81e6f1b9988e084a7a9bb2254c3e8 (diff) |
Merge "Add Support for transcription state in the AnnotatedCallLog"
Diffstat (limited to 'java/com/android/dialer/voicemail/listui')
-rw-r--r-- | java/com/android/dialer/voicemail/listui/VoicemailCursorLoader.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/listui/VoicemailCursorLoader.java b/java/com/android/dialer/voicemail/listui/VoicemailCursorLoader.java index 74d1b6162..11e788840 100644 --- a/java/com/android/dialer/voicemail/listui/VoicemailCursorLoader.java +++ b/java/com/android/dialer/voicemail/listui/VoicemailCursorLoader.java @@ -45,6 +45,7 @@ final class VoicemailCursorLoader extends CursorLoader { AnnotatedCallLog.VOICEMAIL_URI, AnnotatedCallLog.IS_READ, AnnotatedCallLog.NUMBER_ATTRIBUTES, + AnnotatedCallLog.TRANSCRIPTION_STATE }; // Indexes for VOICEMAIL_COLUMNS @@ -59,6 +60,7 @@ final class VoicemailCursorLoader extends CursorLoader { private static final int VOICEMAIL_URI = 8; private static final int IS_READ = 9; private static final int NUMBER_ATTRIBUTES = 10; + private static final int TRANSCRIPTION_STATE = 11; // TODO(zachh): Optimize indexes VoicemailCursorLoader(Context context) { @@ -105,6 +107,7 @@ final class VoicemailCursorLoader extends CursorLoader { .setCallType(cursor.getInt(CALL_TYPE)) .setIsRead(cursor.getInt(IS_READ)) .setNumberAttributes(numberAttributes) + .setTranscriptionState(cursor.getInt(TRANSCRIPTION_STATE)) .build(); } |