Fix swapped backup/heavy oom adj labels

The labels for the "backup" and "heavy" oom adj are swapped relative
to the ordering in DUMP_MEM_OOM_ADJ. Swap the order of the labels
to be consistent.

This should resolve an issue where meminfo mixes up heavy and backup
in the text-based report.

Change-Id: Idbc985c3080eada0945c21825659b031f1f7f2a5
Signed-off-by: Chris Phlipot <cphlipot@fb.com>
This commit is contained in:
Chris Phlipot
2022-04-12 11:29:24 -07:00
committed by Christopher Phlipot
parent 89ee3e6394
commit fc9561e240

View File

@@ -10375,7 +10375,7 @@ public class ActivityManagerService extends IActivityManager.Stub
"Native",
"System", "Persistent", "Persistent Service", "Foreground",
"Visible", "Perceptible", "Perceptible Low", "Perceptible Medium",
"Heavy Weight", "Backup",
"Backup", "Heavy Weight",
"A Services", "Home",
"Previous", "B Services", "Cached"
};
@@ -10383,7 +10383,7 @@ public class ActivityManagerService extends IActivityManager.Stub
"native",
"sys", "pers", "persvc", "fore",
"vis", "percept", "perceptl", "perceptm",
"heavy", "backup",
"backup", "heavy",
"servicea", "home",
"prev", "serviceb", "cached"
};