diff options
Diffstat (limited to 'java/com/android/incallui/incall/protocol/PrimaryInfo.java')
-rw-r--r-- | java/com/android/incallui/incall/protocol/PrimaryInfo.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/com/android/incallui/incall/protocol/PrimaryInfo.java b/java/com/android/incallui/incall/protocol/PrimaryInfo.java index 63dc39ed3..5e40cd156 100644 --- a/java/com/android/incallui/incall/protocol/PrimaryInfo.java +++ b/java/com/android/incallui/incall/protocol/PrimaryInfo.java @@ -17,6 +17,7 @@ package com.android.incallui.incall.protocol; import android.graphics.drawable.Drawable; +import android.net.Uri; import android.support.annotation.Nullable; import com.android.dialer.common.LogUtil; import com.android.dialer.multimedia.MultimediaData; @@ -43,6 +44,9 @@ public abstract class PrimaryInfo { @Nullable public abstract Drawable photo(); + @Nullable + public abstract Uri photoUri(); + @ContactPhotoType public abstract int photoType(); @@ -73,6 +77,7 @@ public abstract class PrimaryInfo { public static Builder builder() { return new AutoValue_PrimaryInfo.Builder(); } + /** Builder class for primary call info. */ @AutoValue.Builder public abstract static class Builder { @@ -88,6 +93,8 @@ public abstract class PrimaryInfo { public abstract Builder setPhoto(Drawable photo); + public abstract Builder setPhotoUri(Uri photoUri); + public abstract Builder setPhotoType(@ContactPhotoType int photoType); public abstract Builder setIsSipCall(boolean isSipCall); |