diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-10-24 22:41:00 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-24 22:41:00 +0000 |
commit | daa1c44c00f3c598223639c9b80a52cf41db51ba (patch) | |
tree | e4c88a1862b157dc858abe73e52b077bf7b96948 /java/com/android/dialer/voicemail/model/VoicemailEntry.java | |
parent | ef7338cf787301c573fde8129bf8880d7faba040 (diff) | |
parent | 938468da6f5c225ebb161a68bd949c9cf3261892 (diff) |
Merge "Rename the new bubble package name from "bubble" to "newbubble"."
Diffstat (limited to 'java/com/android/dialer/voicemail/model/VoicemailEntry.java')
-rw-r--r-- | java/com/android/dialer/voicemail/model/VoicemailEntry.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/model/VoicemailEntry.java b/java/com/android/dialer/voicemail/model/VoicemailEntry.java index 00e1757dc..fc548f18c 100644 --- a/java/com/android/dialer/voicemail/model/VoicemailEntry.java +++ b/java/com/android/dialer/voicemail/model/VoicemailEntry.java @@ -31,6 +31,7 @@ public abstract class VoicemailEntry { .setTimestamp(0) .setNumber(DialerPhoneNumber.getDefaultInstance()) .setPhotoId(0) + .setDuration(0) .setCallType(0); } @@ -58,6 +59,11 @@ public abstract class VoicemailEntry { @Nullable public abstract String geocodedLocation(); + public abstract long duration(); + + @Nullable + public abstract String transcription(); + public abstract int callType(); /** Builder for {@link VoicemailEntry}. */ @@ -80,6 +86,10 @@ public abstract class VoicemailEntry { public abstract Builder setLookupUri(@Nullable String lookupUri); + public abstract Builder setDuration(long duration); + + public abstract Builder setTranscription(@Nullable String transcription); + public abstract Builder setGeocodedLocation(@Nullable String geocodedLocation); public abstract Builder setCallType(int callType); |