Skip to content

Commit 3c5f924

Browse files
cwrenAndroid (Google) Code Review
authored andcommitted
The BigTextStyle should never render mContentText
Change-Id: Ifcbb0868871741bd78c5ebf31408143aaf732b98
1 parent 8396830 commit 3c5f924

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/app/Notification.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,7 @@ private RemoteViews makeBigContentView() {
17361736
RemoteViews contentView = getStandardView(R.layout.notification_template_big_text);
17371737
contentView.setTextViewText(R.id.big_text, mBigText);
17381738
contentView.setViewVisibility(R.id.big_text, View.VISIBLE);
1739+
contentView.setViewVisibility(R.id.text2, View.GONE);
17391740

17401741
return contentView;
17411742
}

0 commit comments

Comments
 (0)