Skip to content

Commit f11e0e7

Browse files
cwrenAndroid (Google) Code Review
authored andcommitted
Merge "Add missing docs to notification style rebuilder functions." into jb-dev
2 parents e259467 + 0bd664d commit f11e0e7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/java/android/app/Notification.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,6 +1731,9 @@ public BigPictureStyle setSummaryText(CharSequence cs) {
17311731
return this;
17321732
}
17331733

1734+
/**
1735+
* Provide the bitmap to be used as the payload for the BigPicture notification.
1736+
*/
17341737
public BigPictureStyle bigPicture(Bitmap b) {
17351738
mPicture = b;
17361739
return this;
@@ -1809,6 +1812,10 @@ public BigTextStyle setSummaryText(CharSequence cs) {
18091812
return this;
18101813
}
18111814

1815+
/**
1816+
* Provide the longer text to be displayed in the big form of the
1817+
* template in place of the content text.
1818+
*/
18121819
public BigTextStyle bigText(CharSequence cs) {
18131820
mBigText = cs;
18141821
return this;
@@ -1889,6 +1896,9 @@ public InboxStyle setSummaryText(CharSequence cs) {
18891896
return this;
18901897
}
18911898

1899+
/**
1900+
* Append a line to the digest section of the Inbox notification.
1901+
*/
18921902
public InboxStyle addLine(CharSequence cs) {
18931903
mTexts.add(cs);
18941904
return this;

0 commit comments

Comments
 (0)