定制hiview优先级

Signed-off-by: lipengfei <lipengfei53@huawei.com>
This commit is contained in:
lipengfei
2025-01-11 10:22:15 +00:00
committed by Gitee
parent a85c6ca6b5
commit 78d4821e8c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ static_library("hiview_lite_static") {
"HIEVENT_LITE_SWITCH=$hiview_lite_hievent_lite_event_switch",
"LOG_OUTPUT_MODULE=$hiview_lite_output_module",
"HIVIEW_STACK_SIZE=$hiview_lite_stack_size",
"HIVIEW_STACK_PRIO=$hiview_lite_stack_prio",
]
if (ohos_build_type == "debug") {
defines += [ "OUTPUT_LEVEL=$hiview_lite_hilog_lite_level" ]
+1 -1
View File
@@ -88,7 +88,7 @@ static BOOL MessageHandle(Service *service, Request *request)
static TaskConfig GetTaskConfig(Service *service)
{
(void)service;
TaskConfig config = { LEVEL_LOW, PRI_NORMAL, HIVIEW_STACK_SIZE, 10, SINGLE_TASK };
TaskConfig config = { LEVEL_LOW, HIVIEW_STACK_PRIO, HIVIEW_STACK_SIZE, 10, SINGLE_TASK };
return config;
}