summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/app/Notification.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index ceb8cde5087e..b2e69de2278b 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -1731,6 +1731,9 @@ public class Notification implements Parcelable
return this;
}
+ /**
+ * Provide the bitmap to be used as the payload for the BigPicture notification.
+ */
public BigPictureStyle bigPicture(Bitmap b) {
mPicture = b;
return this;
@@ -1809,6 +1812,10 @@ public class Notification implements Parcelable
return this;
}
+ /**
+ * Provide the longer text to be displayed in the big form of the
+ * template in place of the content text.
+ */
public BigTextStyle bigText(CharSequence cs) {
mBigText = cs;
return this;
@@ -1889,6 +1896,9 @@ public class Notification implements Parcelable
return this;
}
+ /**
+ * Append a line to the digest section of the Inbox notification.
+ */
public InboxStyle addLine(CharSequence cs) {
mTexts.add(cs);
return this;