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

Commit 7c44e1ff authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

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

am: 48eaef58

Change-Id: Ica9a0274a89ce110d54a28d4828cd8196c350161
parents 9f23feae 48eaef58
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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")) {