From 0bd664dab4c1af6ee2048671ed4847e0f52ea179 Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Wed, 1 Aug 2012 13:56:56 -0400 Subject: [PATCH] Add missing docs to notification style rebuilder functions. Bug: 6914726 Change-Id: I13efae036610523ec6f83696d3337054e79856aa --- core/java/android/app/Notification.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index ceb8cde5087e6..b2e69de2278b2 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;