Merge "libcutils: fix system-background tasks shown in top command"

am: e4e4777fc7

Change-Id: Ic6922c4c2022515f7b668f195055df1401087f46
This commit is contained in:
Elliott Hughes 2017-04-12 18:44:58 +00:00 committed by android-build-merger
commit 48eaef5804
1 changed files with 2 additions and 0 deletions

View File

@ -262,6 +262,8 @@ int get_sched_policy(int tid, SchedPolicy *policy)
*policy = SP_FOREGROUND;
} else if (!strcmp(grpBuf, "foreground")) {
*policy = SP_FOREGROUND;
} else if (!strcmp(grpBuf, "system-background")) {
*policy = SP_SYSTEM;
} else if (!strcmp(grpBuf, "background")) {
*policy = SP_BACKGROUND;
} else if (!strcmp(grpBuf, "top-app")) {