Revert "Call startForeground onCreate for generic foreground service. "
This commit is contained in:
parent
86cd4c5c30
commit
60cdcea791
1 changed files with 0 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue