Merge "Make sure perceptible services are in the default sched group." into nyc-dev

am: 96700fc0dd

* commit '96700fc0dda2e09d18bcffd278bf888a3cb5b2ca':
  Make sure perceptible services are in the default sched group.
This commit is contained in:
Tim Murray
2016-03-03 19:55:09 +00:00
committed by android-build-merger

View File

@@ -18719,6 +18719,7 @@ public final class ActivityManagerService extends ActivityManagerNative
&& clientAdj < ProcessList.PERCEPTIBLE_APP_ADJ
&& adj > ProcessList.PERCEPTIBLE_APP_ADJ) {
adj = ProcessList.PERCEPTIBLE_APP_ADJ;
schedGroup = Process.THREAD_GROUP_DEFAULT;
} else if (clientAdj >= ProcessList.PERCEPTIBLE_APP_ADJ) {
adj = clientAdj;
} else {