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

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

Merge "Merge "Fix SystemServerInitThreadPool size on latest device." into...

Merge "Merge "Fix SystemServerInitThreadPool size on latest device." into qt-dev am: 746fbc30 am: 7f70b3f2" into qt-r1-dev-plus-aosp
am: 580417a3

Change-Id: Ic16c47927005521feb7dd1adf480951497e297d5
parents 34b644d4 580417a3
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<>();