From c0225995f37f9cc2d3879bf179a306dbf0048331 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sun, 15 Sep 2024 17:15:23 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E9=BB=84=E8=93=9D=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ethan --- common/include/rtg_interface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/include/rtg_interface.h b/common/include/rtg_interface.h index 1d52022..269ef65 100644 --- a/common/include/rtg_interface.h +++ b/common/include/rtg_interface.h @@ -84,6 +84,8 @@ enum rtg_sched_cmdid { RTG_CTRL_MAX_NR, }; +bool GetAppExpelAbility(const std::string &appBundleName); + extern "C" { int EnableRtg(bool flag); int AddThreadToRtg(int tid, int grpId, int prioType = 0, bool isBlue = false); -- Gitee From 3b9400d15d2700921d84dc22f241a6b6301b4736 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sun, 15 Sep 2024 17:18:20 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E9=BB=84=E8=93=9D=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ethan --- interfaces/innerkits/frameintf/rtg_interface.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interfaces/innerkits/frameintf/rtg_interface.cpp b/interfaces/innerkits/frameintf/rtg_interface.cpp index d35684d..3677b6f 100644 --- a/interfaces/innerkits/frameintf/rtg_interface.cpp +++ b/interfaces/innerkits/frameintf/rtg_interface.cpp @@ -382,5 +382,10 @@ int GetRtgEnable() } return ret; } + +bool GetAppExpelAbility(const std::string &appBundleName) +{ + return false; +} } // namespace RME } // namespace OHOS -- Gitee