[Change]
[1、增加清扫车判断方法]

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2023-01-03 20:01:00 +08:00
parent b15f4f6944
commit 0e1041db59
3 changed files with 15 additions and 2 deletions

View File

@@ -50,6 +50,17 @@ object AppIdentityModeUtils {
return appIdentityMode and 0xA0 == 0xA0
}
/**
* 是否是 清扫车(这里不细分具体是:司机、乘客等类型)
*
* @param appIdentityMode productFlavors 配置的类型
* @return true - 是清扫车端 false - 不是清扫车端
*/
@JvmStatic
fun isSweeper(appIdentityMode: Int): Boolean {
return appIdentityMode and 0xB0 == 0xB0
}
/**
* 是否是 出租车端(这里不细分具体是:司机、乘客等类型)
*