Merge branch 'refs/heads/dev_robotaxi-d_240912_6.7.0' into dev_robotaxi-d_240912_6.7.2_local

This commit is contained in:
donghongyu-pc
2024-10-23 18:34:00 +08:00
6 changed files with 43 additions and 18 deletions

View File

@@ -14,10 +14,12 @@ import android.view.animation.AccelerateDecelerateInterpolator
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.view.marginStart
import androidx.core.view.marginTop
import com.mogo.eagle.core.data.config.FunctionBuildConfig
import com.mogo.eagle.core.data.map.MogoLatLng
import com.mogo.eagle.core.function.api.datacenter.IDataCenterBizListener
import com.mogo.eagle.core.function.call.datacenter.CallerDataCenterBizListener
import com.mogo.eagle.core.function.hmi.R
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
import com.mogo.eagle.core.utilcode.mogo.view.OnPreventFastClickListener
import com.mogo.map.listener.IMogoMapListener
import com.mogo.map.listener.MogoMapListenerHandler
@@ -234,7 +236,11 @@ class MapContainerLayout @JvmOverloads constructor(
private fun updateShadowBg(isSmallMap: Boolean) {
Log.d(TAG, "updateShadowBg")
if (!isSmallMap) {
shadowView.setBackgroundResource(R.drawable.gaojing_bg)
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
shadowView.setBackgroundResource(R.drawable.gaojing_bg)
} else {
shadowView.setBackgroundResource(R.drawable.gaojing_bus_bg)
}
} else {
shadowView.background = null
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB