mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Revert "Yield foreground service start"
This reverts commit 5fb34691ac.
This commit is contained in:
@@ -1001,7 +1001,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
static void start(Context context) {
|
||||
try {
|
||||
ContextCompat.startForegroundService(context, new Intent(context, ServiceSend.class));
|
||||
Thread.sleep(Helper.FOREGROUND_SERVICE_YIELD);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user