[8.4.0][乘客屏] 修复B4分辨率错误,移除日志,修复B1引用了B2颜色资源
This commit is contained in:
@@ -474,7 +474,6 @@ object LoginServiceManager : IOchLanPassengerStatusListener {
|
||||
FunctionBuildConfig.appIdentityMode = "${product}_${identity}_${vehicle.code}"
|
||||
OchSPManager.putString(OCHVEHICLE,vehicle.code)
|
||||
ScreenHelper.setScreenConfig(AbsMogoApplication.getApp())
|
||||
//TODO 乘客屏竖屏未生效
|
||||
if ((vehicle == Vehicle.B2 || vehicle == Vehicle.B4) && AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
BizLoopManager.runInMainThread{
|
||||
val orientation = ActivityUtils.getTopActivity().resources.configuration.orientation
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/scannerStateView"
|
||||
android:layout_marginStart="@dimen/dp_37"
|
||||
android:textSize="@dimen/dp_18"
|
||||
android:textColor="@color/shuttle_p_m2_color_17417B"
|
||||
android:textColor="@color/shuttle_p_jl_color_17417B"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
<color name="shuttle_p_jl_clock_1F82FB">#1F82FB</color>
|
||||
|
||||
<color name="shuttle_p_jl_clock_992D3E5F">#992D3E5F</color>
|
||||
|
||||
<color name="shuttle_p_jl_color_17417B">#17417B</color>
|
||||
</resources>
|
||||
@@ -25,8 +25,9 @@ public class ScreenHelper {
|
||||
) {
|
||||
baseWidth = 1920;
|
||||
baseHeight = 1080;
|
||||
} else if (AppIdentityModeUtils.isB2(FunctionBuildConfig.appIdentityMode) &&
|
||||
AppIdentityModeUtils.isPassenger((FunctionBuildConfig.appIdentityMode))) {
|
||||
} else if ((AppIdentityModeUtils.isB2(FunctionBuildConfig.appIdentityMode)
|
||||
|| AppIdentityModeUtils.isB4(FunctionBuildConfig.appIdentityMode))
|
||||
&& AppIdentityModeUtils.isPassenger((FunctionBuildConfig.appIdentityMode))) {
|
||||
baseWidth = 1080;
|
||||
baseHeight = 1920;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user