summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/Notification.java
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-06-10 11:37:08 -0400
committerJohn Spurlock <jspurlock@google.com>2013-06-10 11:37:08 -0400
commitac08a4745e355e772aef917ca6ef0fee068a9837 (patch)
tree40d4815cdd4775950c558263e7c1f77459d73123 /core/java/android/app/Notification.java
parent5133dcb83821ed1362efbc83b3c5131ea6374d3f (diff)
downloadframeworks_base-ac08a4745e355e772aef917ca6ef0fee068a9837.zip
frameworks_base-ac08a4745e355e772aef917ca6ef0fee068a9837.tar.gz
frameworks_base-ac08a4745e355e772aef917ca6ef0fee068a9837.tar.bz2
Save Notification large icon to extras.
This piece of semantic info was defined, cleared properly on lightenPayload, but never saved. Change-Id: I41fb5f836f9afe2be5407f292bd6b5e02dfc9cb3
Diffstat (limited to 'core/java/android/app/Notification.java')
-rw-r--r--core/java/android/app/Notification.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 7a0f376..bffbb51 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -1696,6 +1696,9 @@ public class Notification implements Parcelable
extras.putBoolean(EXTRA_PROGRESS_INDETERMINATE, mProgressIndeterminate);
extras.putBoolean(EXTRA_SHOW_CHRONOMETER, mUseChronometer);
extras.putBoolean(EXTRA_SHOW_WHEN, mShowWhen);
+ if (mLargeIcon != null) {
+ extras.putParcelable(EXTRA_LARGE_ICON, mLargeIcon);
+ }
}
/**