[状态栏]移除频繁打印的日志
This commit is contained in:
@@ -14,7 +14,7 @@ import java.util.concurrent.atomic.*
|
||||
internal class GpsImpl(ctx: Context): IFlow<GpsStatus>(ctx) {
|
||||
|
||||
companion object {
|
||||
const val TAG = "RTKImpl"
|
||||
const val TAG = "GpsImpl"
|
||||
}
|
||||
|
||||
private val registered = AtomicBoolean(false)
|
||||
|
||||
@@ -31,7 +31,6 @@ internal class IpcImpl(ctx: Context): IFlow<IpcStatus>(ctx), IMoGoAutopilotStatu
|
||||
}
|
||||
|
||||
private fun checkAndSend() {
|
||||
Log.d(TAG, "-- checkAndSend --")
|
||||
send(IpcStatus(CallerAutoPilotManager.isConnected()))
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ internal class RTKImpl(ctx: Context): IFlow<RTKStatus>(ctx), IMoGoAutopilotCarSt
|
||||
CallerAutoPilotManager.isConnected() && CallerAutoPilotStatusListenerManager.getAutoPilotReportMessageCode() != "EHW_RTK" && CallerAutopilotCarStatusListenerManager.getCurrentGnssInfo() != null
|
||||
|
||||
override fun onAutopilotCarStateData(gnssInfo: GnssInfo?) {
|
||||
Log.d(TAG, "-- onAutopilotCarStateData --")
|
||||
send(RTKStatus(isRTKEnabled()))
|
||||
timeOutCheck()
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ internal class TracingImpl(ctx: Context): IFlow<TracingStatus>(ctx), IMoGoAutopi
|
||||
|
||||
override fun onAutopilotStatusResponse(autoPilotStatusInfo: AutopilotStatusInfo) {
|
||||
super.onAutopilotStatusResponse(autoPilotStatusInfo)
|
||||
Log.d(TAG, "-- onAutopilotStatusResponse -- autopilotMode: ${autoPilotStatusInfo.pilotmode} :: state: ${autoPilotStatusInfo.state}")
|
||||
//Log.d(TAG, "-- onAutopilotStatusResponse -- autopilotMode: ${autoPilotStatusInfo.pilotmode} :: state: ${autoPilotStatusInfo.state}")
|
||||
if (autoPilotStatusInfo.state == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE) {
|
||||
send(TracingStatus(UNKNOWN))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user