mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 17:40:34 +01:00
Added executor tracing
This commit is contained in:
@@ -30,7 +30,6 @@ import androidx.core.app.NotificationCompat;
|
||||
import androidx.preference.PreferenceManager;
|
||||
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
|
||||
public class ServiceExternal extends Service {
|
||||
private static final String ACTION_POLL = BuildConfig.APPLICATION_ID + ".POLL";
|
||||
@@ -41,7 +40,8 @@ public class ServiceExternal extends Service {
|
||||
// adb shell am startservice -a eu.faircode.email.ENABLE --es account Gmail
|
||||
// adb shell am startservice -a eu.faircode.email.DISABLE --es account Gmail
|
||||
|
||||
private static ExecutorService executor = Executors.newSingleThreadExecutor(Helper.backgroundThreadFactory);
|
||||
private static final ExecutorService executor =
|
||||
Helper.getBackgroundExecutor(1, "external");
|
||||
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user