OSDN Git Service

Save Notification large icon to extras.
authorJohn Spurlock <jspurlock@google.com>
Mon, 10 Jun 2013 15:45:17 +0000 (11:45 -0400)
committerThe Android Automerger <android-build@android.com>
Mon, 10 Jun 2013 22:18:36 +0000 (15:18 -0700)
This piece of semantic info was defined, cleared properly on
lightenPayload, but never saved.

Change-Id: Ib2c5372a57d2a01617e401231c150260d22b05d6

core/java/android/app/Notification.java

index fb28ae3..b66e95b 100644 (file)
@@ -1719,6 +1719,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);
+            }
         }
 
         /**