[状态栏]Can数据状态获取逻辑优化

This commit is contained in:
renwj
2022-05-27 17:00:56 +08:00
parent 86c21ddf07
commit 430328ea7f
21 changed files with 92 additions and 68 deletions

View File

@@ -289,7 +289,7 @@ public class BusPassengerModel {
private final IMoGoAutopilotStatusListener mGoAutopilotStatusListener = new IMoGoAutopilotStatusListener(){
@Override
public void onAutopilotNotData(long timestamp) {
public void onAutopilotIpcConnectStatusChanged(int status, @Nullable String reason) {
}
@Override

View File

@@ -6,6 +6,7 @@ import android.location.Location;
import android.os.Looper;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.lifecycle.LifecycleOwner;
import com.mogo.commons.mvp.Presenter;
@@ -279,6 +280,6 @@ public class BusPresenter extends Presenter<BusFragment>
}
@Override
public void onAutopilotNotData(long timestamp) {
public void onAutopilotIpcConnectStatusChanged(int status, @Nullable String reason) {
}
}

View File

@@ -484,7 +484,7 @@ public class TaxiPassengerModel implements IOCHTaxiPassengerNaviChangedCallback
@Override
public void onAutopilotNotData(long timestamp) {
public void onAutopilotIpcConnectStatusChanged(int status, @Nullable String reason) {
}
@Override

View File

@@ -1043,7 +1043,7 @@ public class TaxiModel {
private final IMoGoAutopilotStatusListener mGoAutopilotStatusListener = new IMoGoAutopilotStatusListener() {
@Override
public void onAutopilotNotData(long timestamp) {
public void onAutopilotIpcConnectStatusChanged(int status, @Nullable String reason) {
}
@Override