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

Commit 7f70b3f2 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

Change-Id: I50fcd83eab75ee7032bcae8f8a371c7a935e29f0
parents 2ab6dd49 746fbc30
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<>();