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

Commit 746fbc30 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix SystemServerInitThreadPool size on latest device." into qt-dev

parents 1729ff96 f349ccda
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<>();