Merge "Do not set the group and cpuset for the OomAdjuster thread" into sc-dev
This commit is contained in:
@@ -345,8 +345,6 @@ public final class OomAdjuster {
|
|||||||
final ServiceThread adjusterThread =
|
final ServiceThread adjusterThread =
|
||||||
new ServiceThread(TAG, THREAD_PRIORITY_TOP_APP_BOOST, false /* allowIo */);
|
new ServiceThread(TAG, THREAD_PRIORITY_TOP_APP_BOOST, false /* allowIo */);
|
||||||
adjusterThread.start();
|
adjusterThread.start();
|
||||||
adjusterThread.getThreadHandler().post(() -> Process.setThreadGroupAndCpuset(
|
|
||||||
adjusterThread.getThreadId(), THREAD_GROUP_TOP_APP));
|
|
||||||
return adjusterThread;
|
return adjusterThread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user