diff --git a/omniNotes/src/main/AndroidManifest.xml b/omniNotes/src/main/AndroidManifest.xml index b7ee0999a2..4978fc0c30 100644 --- a/omniNotes/src/main/AndroidManifest.xml +++ b/omniNotes/src/main/AndroidManifest.xml @@ -35,6 +35,7 @@ + = Build.VERSION_CODES.O) { + enqueueWork(context, AlarmRestoreOnRebootService.class, JOB_ID, work); + } else { + Intent jobIntent = new Intent(context, AlarmRestoreOnRebootService.class); + context.startService(jobIntent); + } } @Override