[Upload]
删除冗余代码 MoGoEagleEye.modules.mogo-module-map MoGoEagleEye.modules.mogo-module-service MoGoEagleEye.modules.mogo-module-share MoGoEagleEye.services.mogo-service-api Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -11,9 +11,6 @@ import com.mogo.service.map.IMogoMapService;
|
||||
public class ExtensionServiceManager {
|
||||
private static boolean isInit;
|
||||
private static Context mContext;
|
||||
private static IMogoServiceApis mMogoServiceApis;
|
||||
private static IMogoMapService mMapService;
|
||||
private static IMogoNavi mNavi;
|
||||
|
||||
private ExtensionServiceManager() {
|
||||
|
||||
@@ -23,10 +20,6 @@ public class ExtensionServiceManager {
|
||||
if (!isInit) {
|
||||
isInit = true;
|
||||
mContext = context;
|
||||
mMogoServiceApis = MogoApisHandler.getInstance().getApis();
|
||||
|
||||
mMapService = mMogoServiceApis.getMapServiceApi();
|
||||
mNavi = mMapService.getNavi(context);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,9 +27,5 @@ public class ExtensionServiceManager {
|
||||
return mContext;
|
||||
}
|
||||
|
||||
public static IMogoNavi getNavi() {
|
||||
return mNavi;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user