add bus brake white ui
This commit is contained in:
@@ -10,6 +10,7 @@ import com.mogo.eagle.core.data.constants.MogoServicePaths;
|
||||
import com.mogo.eagle.core.function.api.bindingcar.BindingcarCallBack;
|
||||
import com.mogo.eagle.core.function.api.bindingcar.IMoGoBindingcarProvider;
|
||||
import com.mogo.eagle.core.function.bindingcar.network.BindingcarNetWorkManager;
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -66,11 +67,13 @@ public class BindingcarProvider implements IMoGoBindingcarProvider {
|
||||
|
||||
private int getScreenType() {
|
||||
int screenType = -1;
|
||||
if (FunctionBuildConfig.appIdentityMode == 0 || FunctionBuildConfig.appIdentityMode == 0xA0) {
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
screenType = 1; //司机屏
|
||||
} else if (FunctionBuildConfig.appIdentityMode == 1 || FunctionBuildConfig.appIdentityMode == 0xA1) {
|
||||
screenType = 2; //乘客屏
|
||||
}
|
||||
|
||||
// if (AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
// screenType = 2; //乘客屏
|
||||
// }
|
||||
return screenType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user