Periodic alarm to check for messages.

This commit is contained in:
Alan Evans
2021-02-10 14:01:11 -04:00
committed by Cody Henthorne
parent 29d66f2b92
commit 98cb6b457c
14 changed files with 349 additions and 61 deletions

View File

@@ -92,7 +92,7 @@ public class FcmFetchService extends Service {
FcmJobService.schedule(context);
} else {
Log.w(TAG, "Failed to retrieve messages. Scheduling on JobManager (API " + Build.VERSION.SDK_INT + ").");
ApplicationDependencies.getJobManager().add(new PushNotificationReceiveJob(context));
ApplicationDependencies.getJobManager().add(new PushNotificationReceiveJob());
}
}
}