[Fix]解决自动驾驶过程中杀掉App再进入全览模式没有全局路径规划的数据

This commit is contained in:
chenfufeng
2022-09-21 15:00:14 +08:00
parent f815c71c4d
commit 99b9d5acbe

View File

@@ -11,6 +11,7 @@ import com.mogo.commons.mvp.BaseFragment;
import com.mogo.eagle.core.data.constants.MoGoFragmentPaths;
import com.mogo.eagle.core.data.map.MogoLatLng;
import com.mogo.eagle.core.function.api.map.smp.IMogoSmallMapProvider;
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotManager;
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotPlanningListenerManager;
import com.mogo.eagle.core.function.map.R;
import com.mogo.eagle.core.function.overview.InfStructureManager;
@@ -89,6 +90,8 @@ public class OverviewMapFragment extends BaseFragment
@Override
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
// 主动查一次全局路径规划的数据
CallerAutoPilotManager.INSTANCE.getGlobalPath();
// queryInfStructure();
}