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