This ensures that the most up-to-date JSON files are shipped.
Change-Id: Ic9fae188784825ae6dc607c13b403e37290b7067
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
sdm710-common: Ship cgroups.json and task_profiles.json in vendor
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]
These devices were launched with N MR1 (API level 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>
Change-Id: I33c0540ef50054fad839886f9f014cc275659e77
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>