Loading src/com/android/launcher3/notification/NotificationMainView.java +4 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,10 @@ public class NotificationMainView extends FrameLayout implements SwipeDetector.L */ public void applyNotificationInfo(NotificationInfo mainNotification, boolean animate) { mNotificationInfo = mainNotification; NotificationListener listener = NotificationListener.getInstanceIfConnected(); if (listener != null) { listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); } CharSequence title = mNotificationInfo.title; CharSequence text = mNotificationInfo.text; if (!TextUtils.isEmpty(title) && !TextUtils.isEmpty(text)) { Loading Loading
src/com/android/launcher3/notification/NotificationMainView.java +4 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,10 @@ public class NotificationMainView extends FrameLayout implements SwipeDetector.L */ public void applyNotificationInfo(NotificationInfo mainNotification, boolean animate) { mNotificationInfo = mainNotification; NotificationListener listener = NotificationListener.getInstanceIfConnected(); if (listener != null) { listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); } CharSequence title = mNotificationInfo.title; CharSequence text = mNotificationInfo.text; if (!TextUtils.isEmpty(title) && !TextUtils.isEmpty(text)) { Loading