diff --git a/app/src/main/java/org/openobservatory/ooniprobe/activity/MainActivity.java b/app/src/main/java/org/openobservatory/ooniprobe/activity/MainActivity.java index e656e059b..025f442b1 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/activity/MainActivity.java +++ b/app/src/main/java/org/openobservatory/ooniprobe/activity/MainActivity.java @@ -146,6 +146,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { .build().show(getSupportFragmentManager(), null); } ThirdPartyServices.checkUpdates(this); + scheduleWorkers(); } if (android.os.Build.VERSION.SDK_INT >= 29) { @@ -158,7 +159,6 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { } } requestNotificationPermission(); - scheduleWorkers(); onNewIntent(getIntent()); }