[opt ] 判断乘客屏使用AppIdentityModeUtils.isPassenger方法

This commit is contained in:
wangmingjun
2023-01-05 16:41:03 +08:00
parent 6740a518b4
commit 5c93b9604f

View File

@@ -71,7 +71,7 @@ object AbnormalFactorsLoopManager : IMogoStatusChangedListener {
if (!networkStatus) toastStr += " 网络异常 "
//乘客屏不显示长链接异常
if (!socketStatus && !AppIdentityModeUtils.isPassenger(0x01)) toastStr += " 长链接异常 "
if (!socketStatus && !AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)) toastStr += " 长链接异常 "
i(TAG, "abnormal_factors_Str = $toastStr")