[2.13.0-arch-opt] Volatile

This commit is contained in:
zhongchao
2023-03-07 19:03:23 +08:00
parent c6cf58f77a
commit d1cd2a0c3f
7 changed files with 32 additions and 29 deletions

View File

@@ -117,6 +117,7 @@ internal class DebugSettingView @JvmOverloads constructor(
private var logInfoView: LogInfoView? = null
private var logViewAttach = false
@Volatile
private var mAutoPilotStatusInfo: AutopilotStatusInfo? = null
private var mGnssInfo: MogoLocation? = null

View File

@@ -27,6 +27,7 @@ class SpeedPanelView @JvmOverloads constructor(
var mContext: Context
var mSpeedChartView: SpeedChartView
@Volatile
var mLatLng: MogoLocation? = null
init {