diff options
author | Chris Wren <cwren@android.com> | 2013-06-05 15:05:57 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2014-01-31 12:15:03 -0500 |
commit | 91ad563da32406873c533e0b6df260df0d142290 (patch) | |
tree | 4dca3296554078cc6595583df4f1931c7beaf27f /core/java/android/app/Notification.java | |
parent | 10586ad2a6996b8f9f84ed47a65ccc2d883fc19f (diff) | |
download | frameworks_base-91ad563da32406873c533e0b6df260df0d142290.zip frameworks_base-91ad563da32406873c533e0b6df260df0d142290.tar.gz frameworks_base-91ad563da32406873c533e0b6df260df0d142290.tar.bz2 |
record the notification style
Bug: 10634902
Change-Id: I7d29f252367f4ab58e97a6ac8b0c6702f558e5cf
Diffstat (limited to 'core/java/android/app/Notification.java')
-rw-r--r-- | core/java/android/app/Notification.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 2c70803..e2ea763 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -574,6 +574,7 @@ public class Notification implements Parcelable * notifications, each of which was supplied to {@link InboxStyle#addLine(CharSequence)}. */ public static final String EXTRA_TEXT_LINES = "android.textLines"; + public static final String EXTRA_TEMPLATE = "android.template"; /** * {@link #extras} key: An array of people that this notification relates to, specified @@ -2075,6 +2076,7 @@ public class Notification implements Parcelable if (mBigContentTitle != null) { extras.putCharSequence(EXTRA_TITLE_BIG, mBigContentTitle); } + extras.putString(EXTRA_TEMPLATE, this.getClass().getName()); } /** |