summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-11-12 20:12:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-11-12 20:12:32 +0000
commita22721f5edc6ebc165f68d9208ccbcc52ea222ec (patch)
treeec2a773473d49a0c6bb155cb8c3b7f17a11e89e6 /core/java/android
parent6db829f4c40125d92d8aa2e9eb711f161998798a (diff)
parent53162c13a33fdce5a8d66c64c7e57caec0d95d8e (diff)
Merge "Add Bubble as an option in NotificationInfo longpress menu"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/app/Notification.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 2931f33e4cc4..fce74496d9c4 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -3204,6 +3204,14 @@ public class Notification implements Parcelable
}
/**
+ * Sets the {@link BubbleMetadata} for this notification.
+ * @hide
+ */
+ public void setBubbleMetadata(BubbleMetadata data) {
+ mBubbleMetadata = data;
+ }
+
+ /**
* Returns whether the platform is allowed (by the app developer) to generate contextual actions
* for this notification.
*/