diff --git a/etc/init/concurrent_task_service.cfg b/etc/init/concurrent_task_service.cfg index 4453863f420e6a088f6c99bf524fe66fb3a9de4a..c9a24843043f0a3f3c25f762ffdebab32a05f0ac 100644 --- a/etc/init/concurrent_task_service.cfg +++ b/etc/init/concurrent_task_service.cfg @@ -8,7 +8,7 @@ ], "services" : [{ "name" : "concurrent_task_service", - "path" : ["/system/bin/sa_main", "/system/profile/concurrent_task_service.xml"], + "path" : ["/system/bin/sa_main", "/system/profile/concurrent_task_service.json"], "importance" : -20, "uid" : "system", "gid" : ["system", "shell"], diff --git a/patches/patches.json b/patches/patches.json new file mode 100644 index 0000000000000000000000000000000000000000..3764e61c4d14bc495a0410a3b3faf49af1b4a93e --- /dev/null +++ b/patches/patches.json @@ -0,0 +1,9 @@ +{ + "patches": [ + { + "project":"productdefine_common", + "patch_file":"rich.patch", + "path":"productdefine/common" + } + ] +} \ No newline at end of file diff --git a/patches/rich.patch b/patches/rich.patch new file mode 100644 index 0000000000000000000000000000000000000000..e733aae4e1f90f7dd5f99d4baf094415b73d20b5 --- /dev/null +++ b/patches/rich.patch @@ -0,0 +1,15 @@ +diff --git a/inherit/rich.json b/inherit/rich.json +index 324d061..bfc9604 100644 +--- a/inherit/rich.json ++++ b/inherit/rich.json +@@ -872,6 +872,10 @@ + "component": "frame_aware_sched", + "features": [] + }, ++ { ++ "component": "qos_manager", ++ "features": [] ++ }, + { + "component": "device_usage_statistics", + "features": [] diff --git a/sa_profile/1912.json b/sa_profile/1912.json new file mode 100644 index 0000000000000000000000000000000000000000..33ed9bbcd1d408639bd012325babdf32b013407b --- /dev/null +++ b/sa_profile/1912.json @@ -0,0 +1,12 @@ +{ + "process": "concurrent_task_service", + "systemability": [ + { + "name": 1912, + "libpath": "libconcurrentsvc.z.so", + "run-on-create": true, + "distributed": false, + "dump-level": 1 + } + ] +} \ No newline at end of file diff --git a/sa_profile/1912.xml b/sa_profile/1912.xml deleted file mode 100644 index e520da5d66e7d84ee849d81d693d5eb8069a8e5d..0000000000000000000000000000000000000000 --- a/sa_profile/1912.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - concurrent_task_service - - libconcurrentsvc.z.so - - - 1912 - libconcurrentsvc.z.so - true - false - 1 - - diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index d2d30a8dde63e9ded793876a9658aeff744a0fd9..9d500c698951702dfad3bc09520c6df19a57c6c6 100644 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -14,7 +14,7 @@ import("//build/ohos/sa_profile/sa_profile.gni") ohos_sa_profile("concurrent_task_sa_profile") { - sources = [ "1912.xml" ] + sources = [ "1912.json" ] part_name = "qos_manager" }