Add and update some comments badging/notifications.
Change-Id: Iab4e837c9be01cbd7764c8920e36c6d8159e16dd
This commit is contained in:
1 parent
9438ed414f
commit
30e45187a8
5 files changed
+11
-3
No files matched your search
@@ -55,6 +55,8 @@ public class NotificationInfo implements View.OnClickListener {
|
||||
Notification notification = statusBarNotification.getNotification();
|
||||
title = notification.extras.getCharSequence(Notification.EXTRA_TITLE);
|
||||
text = notification.extras.getCharSequence(Notification.EXTRA_TEXT);
|
||||
// Load the icon. Since it is backed by ashmem, we won't copy the entire bitmap
|
||||
// into our process as long as we don't touch it and it exists in systemui.
|
||||
Icon icon = notification.getLargeIcon();
|
||||
if (icon == null) {
|
||||
icon = notification.getSmallIcon();
|
||||
|
||||
Reference in new issue
Block a user