OSDN Git Service

Add missing docs to notification style rebuilder functions.
authorChris Wren <cwren@android.com>
Wed, 1 Aug 2012 17:56:56 +0000 (13:56 -0400)
committerChris Wren <cwren@android.com>
Wed, 1 Aug 2012 19:06:56 +0000 (15:06 -0400)
Bug: 6914726
Change-Id: I13efae036610523ec6f83696d3337054e79856aa

core/java/android/app/Notification.java

index ceb8cde..b2e69de 100644 (file)
@@ -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;