Revert "Call startForeground onCreate for generic foreground service. "

This commit is contained in:
Clark 2023-06-20 10:53:28 -04:00 committed by GitHub
parent 86cd4c5c30
commit 60cdcea791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,14 +55,6 @@ public final class GenericForegroundService extends Service {
private @Nullable Entry lastPosted;
@Override
public void onCreate() {
super.onCreate();
synchronized (GenericForegroundService.class) {
updateNotification();
}
}
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
if (intent == null) {