[状态栏]状态栏需求代码提交

[状态栏]网络可访问状态获取
This commit is contained in:
renwj
2022-05-26 20:38:51 +08:00
parent 8c23dbe411
commit 9150b3f40a
57 changed files with 1422 additions and 25 deletions

View File

@@ -174,6 +174,10 @@ class MoGoHmiFragment : MvpFragment<MoGoHmiContract.View?, HmiPresenter?>(),
setProxyTrafficLightView(viewTrafficLightVr)
setProxyLimitingSpeedView(viewLimitingVelocity)
setProxyNotificationView(V2XNotificationView(view.context))
context?.also {
CallerDevaToolsManager.showStatusBar(it)
}
}
@OptIn(ExperimentalCoroutinesApi::class)

View File

@@ -1779,6 +1779,10 @@ class DebugSettingView @JvmOverloads constructor(
}
}
override fun onAutopilotNotData(timestamp: Long) {
}
/**
* 吐司提示
*/

View File

@@ -101,6 +101,10 @@ public class SteeringWheelView extends ConstraintLayout {
}
private final IMoGoAutopilotStatusListener mGoAutopilotStatusListener = new IMoGoAutopilotStatusListener() {
@Override
public void onAutopilotNotData(long timestamp) {
}
@Override
public void onAutopilotArriveAtStation(@org.jetbrains.annotations.Nullable MessagePad.ArrivalNotification arrivalNotification) {
@@ -146,6 +150,11 @@ public class SteeringWheelView extends ConstraintLayout {
};
private final IMoGoAutopilotVehicleStateListener mIMoGoAutopilotVehicleStateListener = new IMoGoAutopilotVehicleStateListener() {
@Override
public void onAutopilotNotData(long timestamp) {
}
/**
* 车辆转向灯
* @param lightSwitch

View File

@@ -75,6 +75,10 @@ public class MainActivity extends MvpActivity<MainView, MainPresenter> implement
FragmentStackTransactionListener,
IMoGoAutopilotStatusListener {
@Override
public void onAutopilotNotData(long timestamp) {
}
protected static final String TAG = "MainActivity";
private static final int REQUEST_CODE_DIALOG = 100;
@@ -473,4 +477,8 @@ public class MainActivity extends MvpActivity<MainView, MainPresenter> implement
.commitAllowingStateLoss();
}
@Override
public void onPointerCaptureChanged(boolean hasCapture) {
super.onPointerCaptureChanged(hasCapture);
}
}