kopia lustrzana https://github.com/ryukoposting/Signal-Android
Add GroupId to PushNotificationReceivedJob
Pending message requests should probably be made sequentially. // FREEBIEfork-5.53.8
rodzic
8550b4b051
commit
efcdb7eb66
|
@ -24,6 +24,7 @@ public class PushNotificationReceiveJob extends PushReceivedJob implements Injec
|
||||||
public PushNotificationReceiveJob(Context context) {
|
public PushNotificationReceiveJob(Context context) {
|
||||||
super(context, JobParameters.newBuilder()
|
super(context, JobParameters.newBuilder()
|
||||||
.withRequirement(new NetworkRequirement(context))
|
.withRequirement(new NetworkRequirement(context))
|
||||||
|
.withGroupId("__notification_received")
|
||||||
.withWakeLock(true, 30, TimeUnit.SECONDS).create());
|
.withWakeLock(true, 30, TimeUnit.SECONDS).create());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue