[Delete]
删除了apps应用列表模块 删除了back返回按钮模块 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -22,7 +22,6 @@ import com.mogo.service.datamanager.IMogoDataManager;
|
||||
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
|
||||
import com.mogo.service.imageloader.IMogoImageloader;
|
||||
import com.mogo.service.intent.IMogoIntentManager;
|
||||
import com.mogo.service.launcher.IMogoLauncher;
|
||||
import com.mogo.service.map.IMogoMapService;
|
||||
import com.mogo.service.module.IMogoActionManager;
|
||||
import com.mogo.service.module.IMogoRegisterCenter;
|
||||
@@ -58,7 +57,6 @@ public class MarkerServiceHandler {
|
||||
private static IMogoDataManager sDataManager;
|
||||
private static IMogoIntentManager sIntentManager;
|
||||
private static IMogoADASController sADASController;
|
||||
private static IMogoLauncher sLauncher;
|
||||
private static IMogoFragmentManager sFragmentManager;
|
||||
private static ICarsChattingProvider sCarChatting;
|
||||
private static IV2XProvider sIV2XProvider;
|
||||
@@ -88,7 +86,6 @@ public class MarkerServiceHandler {
|
||||
sDataManager = sApis.getDataManagerApi();
|
||||
sIntentManager = sApis.getIntentManagerApi();
|
||||
sADASController = sApis.getAdasControllerApi();
|
||||
sLauncher = sApis.getLauncherApi();
|
||||
sFragmentManager = sApis.getFragmentManagerApi();
|
||||
sCarChatting = ( ICarsChattingProvider ) ARouter.getInstance().build( CallChattingProviderConstant.CAR_CALL_PROVIDER ).navigation( context );
|
||||
sIV2XProvider = sApis.getV2XListenerManager();
|
||||
@@ -158,10 +155,6 @@ public class MarkerServiceHandler {
|
||||
return sADASController;
|
||||
}
|
||||
|
||||
public static IMogoLauncher getLauncher() {
|
||||
return sLauncher;
|
||||
}
|
||||
|
||||
public static IMogoFragmentManager getFragmentManager() {
|
||||
return sFragmentManager;
|
||||
}
|
||||
|
||||
@@ -22,9 +22,6 @@ public class MyLocationHandler implements IntentHandler {
|
||||
if ( MarkerServiceHandler.getMogoStatusManager().isMainPageOnResume() ) {
|
||||
MarkerServiceHandler.getMapUIController().recoverLockMode();
|
||||
} else {
|
||||
if ( MarkerServiceHandler.getLauncher() != null ) {
|
||||
MarkerServiceHandler.getLauncher().backToLauncher( context );
|
||||
}
|
||||
UiThreadHandler.postDelayed( () -> {
|
||||
MarkerServiceHandler.getMapUIController().recoverLockMode();
|
||||
}, 2_000L );
|
||||
|
||||
@@ -4,18 +4,18 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.mogo.module.service.MarkerServiceHandler;
|
||||
import com.mogo.module.service.ServiceConst;
|
||||
import com.mogo.module.service.receiver.MogoReceiver;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/6/11
|
||||
*
|
||||
* 描述
|
||||
*/
|
||||
class WholeVoiceCommandIntentHandler implements IntentHandler {
|
||||
public class WholeVoiceCommandIntentHandler implements IntentHandler {
|
||||
|
||||
private final String TAG = this.getClass().getName();
|
||||
|
||||
private static volatile WholeVoiceCommandIntentHandler sInstance;
|
||||
|
||||
@@ -48,12 +48,6 @@ class WholeVoiceCommandIntentHandler implements IntentHandler {
|
||||
if ( TextUtils.isEmpty( command ) ) {
|
||||
return;
|
||||
}
|
||||
switch ( command ) {
|
||||
case ServiceConst.COMMAND_BACK:
|
||||
if ( MarkerServiceHandler.getLauncher() != null ) {
|
||||
MarkerServiceHandler.getLauncher().backToLauncher( context );
|
||||
}
|
||||
break;
|
||||
}
|
||||
Logger.i(TAG,"command:"+command);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user