summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/screenshot
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2015-05-06 15:18:49 -0400
committerDaniel Sandler <dsandler@android.com>2015-05-15 12:35:21 +0000
commitd63f9321e62064660d426efd5abbd885c4a24652 (patch)
tree96d7252ec6ba03410097d24a93abed13e52516d7 /packages/SystemUI/src/com/android/systemui/screenshot
parentaee0c2ce39fe92716bb76d33d6f8cc8789467cf6 (diff)
downloadframeworks_base-d63f9321e62064660d426efd5abbd885c4a24652.zip
frameworks_base-d63f9321e62064660d426efd5abbd885c4a24652.tar.gz
frameworks_base-d63f9321e62064660d426efd5abbd885c4a24652.tar.bz2
Icon support comes to Notification.
And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done (This patch fixes a number of bugs in the initial implementation, but other than that, it's the same as it ever was.) Bug: 18568715 Bug: 21141842 Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/screenshot')
-rw-r--r--packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java b/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java
index 715f4e4..be33085 100644
--- a/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java
+++ b/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java
@@ -194,7 +194,7 @@ class SaveImageInBackgroundTask extends AsyncTask<SaveImageInBackgroundData, Voi
// we compose the final post-save notification below.
mNotificationBuilder.setLargeIcon(croppedIcon);
// But we still don't set it for the expanded view, allowing the smallIcon to show here.
- mNotificationStyle.bigLargeIcon(null);
+ mNotificationStyle.bigLargeIcon((Bitmap) null);
}
@Override