删除了位置模拟模块,可使用单独的位置模拟APP来实现,效率更高,且更符合实际驾驶场景
This commit is contained in:
@@ -29,7 +29,6 @@ public class SearchApisHolder {
|
||||
private static final String TAG = "SearchApisHolder";
|
||||
|
||||
private static IMogoServiceApis sApis;
|
||||
// private static IMogoGpsSimulatorManager sGpsSimulatorManager;
|
||||
|
||||
private static PersonalInfoManagerImpl mPersonalInfoManager;
|
||||
|
||||
@@ -84,13 +83,6 @@ public class SearchApisHolder {
|
||||
return getApis().getSettingManagerApi();
|
||||
}
|
||||
|
||||
// public static IMogoGpsSimulatorManager getGpsSimulatorManager() {
|
||||
// if ( sGpsSimulatorManager == null ) {
|
||||
// sGpsSimulatorManager = ARouter.getInstance().navigation( IMogoGpsSimulatorManager.class );
|
||||
// }
|
||||
// return sGpsSimulatorManager;
|
||||
// }
|
||||
|
||||
public static IMogoSearchManager getSearchManager() {
|
||||
return getApis().getSearchManagerApi();
|
||||
}
|
||||
|
||||
@@ -223,11 +223,6 @@ class NaviSettingFragment : BaseFragment(), OnCheckedChangeListener {
|
||||
|
||||
SettingManager.setGpsSimulator(isChecked)
|
||||
|
||||
// if (isChecked) {
|
||||
// SearchApisHolder.getGpsSimulatorManager().open()
|
||||
// } else {
|
||||
// SearchApisHolder.getGpsSimulatorManager().close()
|
||||
// }
|
||||
}
|
||||
tb_custom_map.isChecked = DebugConfig.isUseCustomMap()
|
||||
tb_custom_map.setOnCheckedChangeListener{ _, isChecked ->
|
||||
|
||||
Reference in New Issue
Block a user