summaryrefslogtreecommitdiff
path: root/java/com/android/newbubble/NewBubbleInfo.java
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2017-11-01 16:22:28 -0700
committerzachh <zachh@google.com>2017-11-10 23:40:48 +0000
commit84ac49babc81c94357706c5073fdb89f27b5fdbd (patch)
tree4e92d59fcb444de033bc359928e2fce120118adb /java/com/android/newbubble/NewBubbleInfo.java
parent65e19075682f3c0cdaca367138560d80ac4a3106 (diff)
Implement some UI changes.
Including: - merge end call button with other buttons - add ripple effect for buttons - adjust elevation according to material design guide - add triangle in expanded view Bug: 67605985 Test: manual PiperOrigin-RevId: 174253861 Change-Id: I7b5315245a322235efb39a9cda26b8686cc7bbf9
Diffstat (limited to 'java/com/android/newbubble/NewBubbleInfo.java')
-rw-r--r--java/com/android/newbubble/NewBubbleInfo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/newbubble/NewBubbleInfo.java b/java/com/android/newbubble/NewBubbleInfo.java
index 44232f39b..126b300ed 100644
--- a/java/com/android/newbubble/NewBubbleInfo.java
+++ b/java/com/android/newbubble/NewBubbleInfo.java
@@ -79,7 +79,7 @@ public abstract class NewBubbleInfo {
public abstract Drawable getIconDrawable();
- @Nullable
+ @NonNull
public abstract CharSequence getName();
@NonNull
@@ -108,7 +108,7 @@ public abstract class NewBubbleInfo {
public abstract Builder setIconDrawable(Drawable iconDrawable);
- public abstract Builder setName(@Nullable CharSequence name);
+ public abstract Builder setName(@NonNull CharSequence name);
public abstract Builder setIntent(@NonNull PendingIntent intent);