[6.2.0][技术优化] 添加是否支持卡顿检测标记位

This commit is contained in:
renwj
2023-12-01 11:23:57 +08:00
parent d2e620827e
commit ea80d84f84
4 changed files with 17 additions and 3 deletions

View File

@@ -136,6 +136,9 @@ android {
// ⑤构建的是否是演示(美化)模式
buildConfigField 'boolean', 'IS_DEMO_MODE', 'false'
// 是否支持卡顿检测
buildConfigField 'boolean', 'IS_SUPPORT_JUNK_DETECT', "${rootProject.isJunkDetectEnable()}"
}
mogo {

View File

@@ -70,6 +70,9 @@ object ConfigStartUp {
FunctionBuildConfig.adasConnectIP = BuildConfig.ADAS_CONNECT_IP
// 是否开启secure校验
FunctionBuildConfig.isSecure = BuildConfig.secure
// 是否开启卡顿检测
FunctionBuildConfig.isSupportJunkDetect = BuildConfig.IS_SUPPORT_JUNK_DETECT
}
private fun initDebugConfig() {