d979f6a671
Google's prebuilt cgroups.json and task_profiles.json for products launched with previous API levels only covers ro.product.first_api_level >= 28. [1] Xiaomi sdm660 devices were launched with Nougat/Nougat MR1/Oreo (API levels 24-26), so schedtune and task groups are completely broken. Since the system also checks /vendor/etc for vendor profiles, make a copy of cgroups_28.json and task_profiles_28.json and ship them to /vendor/etc. Profiles for previous API levels are all the same anyway. Test: boot and check /dev/stune/ [1] system/core/libprocessgroup/profiles/ Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com> Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com> Signed-off-by: SakilMondal <mondalsakil@gmail.com> Change-Id: I8e54ae2d79034f54447616d79294573bf74ed6e1 Signed-off-by: pix106 <sbordenave@gmail.com>
11 lines
163 B
JSON
11 lines
163 B
JSON
{
|
|
"Cgroups": [
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "/dev/stune",
|
|
"Mode": "0755",
|
|
"UID": "system",
|
|
"GID": "system"
|
|
}
|
|
]
|
|
}
|