summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Wren <cwren@android.com> 2012-08-01 13:56:56 -0400
committer Chris Wren <cwren@android.com> 2012-08-01 15:06:56 -0400
commit0bd664dab4c1af6ee2048671ed4847e0f52ea179 (patch)
treee88aa2d3aa5e7d9b05c9f67745705ea3529422ce
parentda5cb90b992a28c0affe0d52b3b53c1a7b839eb2 (diff)
Add missing docs to notification style rebuilder functions.
Bug: 6914726 Change-Id: I13efae036610523ec6f83696d3337054e79856aa
-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;