summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-05-04 16:31:17 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-04 13:32:18 -0700
commit3c5f92432734e1e3b9bdc515628a4c09d7759cd4 (patch)
tree99bb3685e3dcbec2d64fd6390c18fa683db424d1
parent8396830d8fedc08c0a9de36bcce3c8b65691729f (diff)
downloadframeworks_base-3c5f92432734e1e3b9bdc515628a4c09d7759cd4.zip
frameworks_base-3c5f92432734e1e3b9bdc515628a4c09d7759cd4.tar.gz
frameworks_base-3c5f92432734e1e3b9bdc515628a4c09d7759cd4.tar.bz2
The BigTextStyle should never render mContentText
Change-Id: Ifcbb0868871741bd78c5ebf31408143aaf732b98
-rw-r--r--core/java/android/app/Notification.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index b60eed9..2951476 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -1736,6 +1736,7 @@ public class Notification implements Parcelable
RemoteViews contentView = getStandardView(R.layout.notification_template_big_text);
contentView.setTextViewText(R.id.big_text, mBigText);
contentView.setViewVisibility(R.id.big_text, View.VISIBLE);
+ contentView.setViewVisibility(R.id.text2, View.GONE);
return contentView;
}