[m1-p-1.1.0]fixbug of null

This commit is contained in:
zhongchao
2023-03-16 15:52:15 +08:00
parent 842571af49
commit ab4e1f4788

View File

@@ -1601,10 +1601,12 @@ internal class DebugSettingView @JvmOverloads constructor(
}"
)
val autopilotJson = GsonUtils.toJson(mAutoPilotStatusInfo)
tvAutopilotInfo.text = autopilotJson
tvIpcInfo.text = autopilotJson
tvIpcInfoKey.text = autopilotJson
mAutoPilotStatusInfo?.let {
val autopilotJson = GsonUtils.toJson(it)
tvAutopilotInfo.text = autopilotJson
tvIpcInfo.text = autopilotJson
tvIpcInfoKey.text = autopilotJson
}
tvCmdbCarInfoContent.text = SharedPrefsMgr.getInstance(context).getString(SharedPrefsConstants.CAR_INFO)?:""
tvCarInfo.text =