diff options
author | yueg <yueg@google.com> | 2017-10-31 14:11:53 -0700 |
---|---|---|
committer | zachh <zachh@google.com> | 2017-11-03 00:21:12 +0000 |
commit | a5a08d8890b08ac1fde8ccaf333fe33c69333ae5 (patch) | |
tree | ab82401c5c33c58ecf534fc73962405f8af94122 /java/com/android/newbubble/NewBubbleInfo.java | |
parent | 9ebcbef57c9c694f2ab1c357b6b6356d0aa0d143 (diff) |
Add avatar and small icon in bubble primary button.
Bug: 67605985
Test: NewBubbleIntegrationTest, NewReturnToCallControllerTest
PiperOrigin-RevId: 174089572
Change-Id: Icaeb41482cffe522e09ee1ec068b5d47f476b146
Diffstat (limited to 'java/com/android/newbubble/NewBubbleInfo.java')
-rw-r--r-- | java/com/android/newbubble/NewBubbleInfo.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/newbubble/NewBubbleInfo.java b/java/com/android/newbubble/NewBubbleInfo.java index f615929e3..44232f39b 100644 --- a/java/com/android/newbubble/NewBubbleInfo.java +++ b/java/com/android/newbubble/NewBubbleInfo.java @@ -35,6 +35,9 @@ public abstract class NewBubbleInfo { public abstract Icon getPrimaryIcon(); + @Nullable + public abstract Drawable getAvatar(); + @Px public abstract int getStartingYPosition(); @@ -61,6 +64,8 @@ public abstract class NewBubbleInfo { public abstract Builder setPrimaryIcon(@NonNull Icon primaryIcon); + public abstract Builder setAvatar(@Nullable Drawable avatar); + public abstract Builder setStartingYPosition(@Px int startingYPosition); public abstract Builder setActions(List<Action> actions); |