From 199b7fed7c6bfd0443a940fb09fa333dc94b4a06 Mon Sep 17 00:00:00 2001 From: Stephen Bird Date: Thu, 19 May 2016 11:50:07 -0700 Subject: Nudges: use unique id instead of packagename Ticket: CD-657 Change-Id: I2e598109531c39a4056ff6058c784337293f781d --- src/com/android/dialer/discovery/DiscoveryEventHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/dialer/discovery/DiscoveryEventHandler.java b/src/com/android/dialer/discovery/DiscoveryEventHandler.java index f4a5411fd..eac2b3d6b 100644 --- a/src/com/android/dialer/discovery/DiscoveryEventHandler.java +++ b/src/com/android/dialer/discovery/DiscoveryEventHandler.java @@ -190,7 +190,7 @@ public class DiscoveryEventHandler { String body = b.getString(NudgeKey.NOTIFICATION_PARAM_BODY); Parcelable[] actions = b.getParcelableArray(NudgeKey.NOTIFICATION_PARAM_NUDGE_ACTIONS); - NotificationNudge nn = new NotificationNudge(component.getPackageName(), + NotificationNudge nn = new NotificationNudge(mKey, Nudge.Type.IMMEDIATE, title, body); for (Parcelable action : actions) { -- cgit v1.2.3