Commit d29510ac authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Merge pull request #169 from ginovva320/patch-1

Update to LocalNotification.cancel()
parents 1f208776 da1f1d41
Loading
Loading
Loading
Loading
+1 −1
Changes for src/android/LocalNotification.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ public class LocalNotification extends CordovaPlugin {
        Intent intent = new Intent(context, Receiver.class)
            .setAction("" + notificationId);

        PendingIntent pi       = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);
        PendingIntent pi       = PendingIntent.getBroadcast(context, 0, intent, 0);
        AlarmManager am        = getAlarmManager();
        NotificationManager nc = getNotificationManager();