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

Only restore not already triggered notifications on reboot

parent c455704d
Loading
Loading
Loading
Loading
+2 −0
Changes for src/android/RestoreReceiver.java: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -42,8 +42,10 @@ public class RestoreReceiver extends AbstractRestoreReceiver {
     */
    @Override
    public void onRestore (Notification notification) {
        if (notification.isScheduled()) {
            notification.schedule();
        }
    }

    /**
     * Build notification specified by options.