From a562c21ac9232c9d4190045b32c1b4f42991db63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E4=BC=9F?= Date: Thu, 7 Nov 2024 04:01:26 +0000 Subject: [PATCH] =?UTF-8?q?cherry=20pick=20092445f=20from=20https://gitee.?= =?UTF-8?q?com/beauty-bag/resourceschedule=5Fresource=5Fschedule=5Fservice?= =?UTF-8?q?/pulls/1382=20=E5=90=8E=E5=8F=B0=E4=BB=BB=E5=8A=A1=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡伟 --- .../sched_controller/include/background_task_observer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/background_task_observer.h b/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/background_task_observer.h index 349a5ff5..8ac8396f 100644 --- a/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/background_task_observer.h +++ b/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/background_task_observer.h @@ -69,7 +69,7 @@ private: { return eventData->GetCreatorUid() > 0 && eventData->GetCreatorPid() >= 0 && eventData->GetAbilityName().size() > 0 && eventData->GetTypeId() > 0 - && eventData->GetTypeId() <= BackgroundTaskMgr::BackgroundMode::TASK_KEEPING; + && eventData->GetTypeId() <= BackgroundTaskMgr::BackgroundMode::END; } inline std::string PackPayload(const std::shared_ptr& info) const -- Gitee