Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd06d664 authored by Wei Wang's avatar Wei Wang Committed by android-build-merger
Browse files

Merge "Fix SystemServerInitThreadPool size on latest device." into qt-dev am: 746fbc30

am: 7f70b3f2

Change-Id: I0f51a44f4b398d588c1750e432f8e64d2aef01bf
parents c3084404 7f70b3f2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,7 +45,8 @@ public class SystemServerInitThreadPool {

    private static SystemServerInitThreadPool sInstance;

    private ExecutorService mService = ConcurrentUtils.newFixedThreadPool(4,
    private ExecutorService mService = ConcurrentUtils.newFixedThreadPool(
            Runtime.getRuntime().availableProcessors(),
            "system-server-init-thread", Process.THREAD_PRIORITY_FOREGROUND);

    private List<String> mPendingTasks = new ArrayList<>();