Commit 3b159c88 by Sebastián Katzer

Only restore not already triggered notifications on reboot

parent c455704d
...@@ -42,8 +42,10 @@ public class RestoreReceiver extends AbstractRestoreReceiver { ...@@ -42,8 +42,10 @@ public class RestoreReceiver extends AbstractRestoreReceiver {
*/ */
@Override @Override
public void onRestore (Notification notification) { public void onRestore (Notification notification) {
if (notification.isScheduled()) {
notification.schedule(); notification.schedule();
} }
}
/** /**
* Build notification specified by options. * Build notification specified by options.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment