[6.0.0] 1、去除viewBinding 2、更换无人化需求登陆/登出接口

This commit is contained in:
wangmingjun
2023-08-02 19:45:26 +08:00
committed by zhongchao
parent fa76e9cbc2
commit fc4ee38463
15 changed files with 142 additions and 141 deletions

View File

@@ -1,8 +1,8 @@
project.android.productFlavors {
// 出租车业务
taxiunmanned {
dimension "product"
dimension "product"
manifestPlaceholders = [
CHANNEL_VALUE_HEAD: "Taxi",
// Activity的朝向
@@ -14,20 +14,23 @@ project.android.productFlavors {
// ②连接的工控机IP地址
buildConfigField 'String', 'ADAS_CONNECT_IP', "\"192.168.1.102\""
// ③是否需要重写状态栏
buildConfigField 'boolean', 'IS_REPLACE_STATUSVIEW', 'false'
// ④构建 是否支持多屏异显异交互
buildConfigField 'boolean', 'IS_MULTI_DISPLAY', 'false'
if (isCurrentDriver("taxi")) {
// 在启动的时候把Task给清空
manifestPlaceholders.put("ACTIVITY_ROOT", true)
// ③是否需要重写状态栏
buildConfigField 'boolean', 'IS_REPLACE_STATUSVIEW', 'false'
}else if (isCurrentPassenger("taxi")) {
// 在启动的时候把Task给清空
manifestPlaceholders.put("ACTIVITY_ROOT", false)
// ③是否需要重写状态栏
buildConfigField 'boolean', 'IS_REPLACE_STATUSVIEW', 'true'
}else {
manifestPlaceholders.put("ACTIVITY_ROOT", false)
// ③是否需要重写状态栏
buildConfigField 'boolean', 'IS_REPLACE_STATUSVIEW', 'false'
}
}
}