From 88e497245c5734044eb6a95ec82fdbed0a45dadf Mon Sep 17 00:00:00 2001 From: YouZijun97 Date: Sun, 15 Sep 2024 22:44:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=93=9D=E9=BB=84=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: YouZijun97 --- common/include/rtg_interface.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/include/rtg_interface.h b/common/include/rtg_interface.h index 269ef65..09d6bc8 100644 --- a/common/include/rtg_interface.h +++ b/common/include/rtg_interface.h @@ -84,8 +84,6 @@ 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); @@ -103,6 +101,9 @@ extern "C" { int SearchRtgForTid(int tid); int GetRtgEnable(); } + +bool GetAppExpelAbility(const std::string &appBundleName); + } // namespace RME } // namespace OHOS #endif // OHOS_FRAME_AWARE_SCHED_COMMON_INCLUDE_RTG_INTERFACE_H