Merge "Report when a notification is shown in the popup" into ub-launcher3-edmonton-polish
This commit is contained in:
commit
4f8e417bca
1 file changed
+4
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user