Merge branch 'dev_robobus-m1-p-app-module_1.0.0_230112_1.0.0' into 'dev_RoboBus_P_230220_1.0.1'
Dev robobus m1 p app module 1.0.0 230112 1.0.0 See merge request zhjt/AndroidApp/MoGoEagleEye!637
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mogo.och.bus.passenger.ui.widget.video
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import com.shuyu.gsyvideoplayer.utils.Debuger
|
||||
import com.shuyu.gsyvideoplayer.utils.GSYVideoType
|
||||
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer
|
||||
|
||||
/**
|
||||
@@ -16,6 +17,7 @@ class AdvanceGSYVideoPlayer: StandardGSYVideoPlayer {
|
||||
|
||||
init {
|
||||
hideWidget()
|
||||
GSYVideoType.setShowType(com.shuyu.gsyvideoplayer.utils.GSYVideoType.SCREEN_MATCH_FULL)
|
||||
}
|
||||
|
||||
override fun hideAllWidget() {
|
||||
|
||||
@@ -478,16 +478,14 @@ Object readFileToJson(env){
|
||||
def variantName() {
|
||||
if(gradle.startParameter.taskNames.size()>0) {
|
||||
for (String taskName : gradle.startParameter.taskNames) {
|
||||
if (taskName.startsWith("assemble")) {
|
||||
taskName = taskName.replace("Debug","")
|
||||
taskName = taskName.replace("Release","")
|
||||
if (taskName.endsWith("Qa")) {
|
||||
return "qa"
|
||||
} else if (taskName.endsWith("Online")) {
|
||||
return "online"
|
||||
} else if (taskName.endsWith("Demo")) {
|
||||
return "demo"
|
||||
}
|
||||
taskName = taskName.replace("Debug", "")
|
||||
taskName = taskName.replace("Release", "")
|
||||
if (taskName.endsWith("Qa")) {
|
||||
return "qa"
|
||||
} else if (taskName.endsWith("Online")) {
|
||||
return "online"
|
||||
} else if (taskName.endsWith("Demo")) {
|
||||
return "demo"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,6 +51,6 @@ project.android.productFlavors {
|
||||
buildConfigField 'boolean', 'IS_MULTI_DISPLAY', 'false'
|
||||
|
||||
//清扫车不能启动自驾的档位
|
||||
buildConfigField 'java.util.Set<chassis.Chassis.GearPosition>', 'UNABLE_LAUNCH_AUTOPILOT_GEAR', 'new java.util.HashSet<chassis.Chassis.GearPosition>(){{add(chassis.Chassis.GearPosition.GEAR_N);}}'
|
||||
buildConfigField 'java.util.Set<chassis.Chassis.GearPosition>', 'UNABLE_LAUNCH_AUTOPILOT_GEAR', 'null'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user