mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Add GroupId to PushNotificationReceivedJob
Pending message requests should probably be made sequentially. // FREEBIE
This commit is contained in:
parent
8550b4b051
commit
efcdb7eb66
@ -24,6 +24,7 @@ public class PushNotificationReceiveJob extends PushReceivedJob implements Injec
|
||||
public PushNotificationReceiveJob(Context context) {
|
||||
super(context, JobParameters.newBuilder()
|
||||
.withRequirement(new NetworkRequirement(context))
|
||||
.withGroupId("__notification_received")
|
||||
.withWakeLock(true, 30, TimeUnit.SECONDS).create());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user