Merge "libcutils: fix system-background tasks shown in top command" am: e4e4777fc7 am: 48eaef5804
am: 7c44e1ffd2
Change-Id: I5e257bb30006b4a390eb347082c1fd3a0f2a7b1c
This commit is contained in:
commit
f9a0c78fe0
1 changed files with 2 additions and 0 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue