Skip to content

Commit e844470

Browse files
committed
fix(LocalPush): fix for locally triggered notifications appear after notification was cancelled.
1 parent b880ef8 commit e844470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AndroidSDK/src/com/leanplum/internal/ActionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public boolean onResponse(ActionContext actionContext) {
233233
SharedPreferencesUtil.commitChanges(editor);
234234

235235
// Cancel notification.
236-
Intent intentAlarm = new Intent(context, LeanplumPushService.class);
236+
Intent intentAlarm = new Intent(context, LeanplumLocalPushListenerService.class);
237237
AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
238238
PendingIntent existingIntent = PendingIntent.getService(
239239
context, messageId.hashCode(), intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT);

0 commit comments

Comments
 (0)