语音打开事件面板-出行动态+周边事件
This commit is contained in:
@@ -72,6 +72,16 @@ public class GlobalUnwakeManager implements IProvider, IMogoIntentListener, IMog
|
||||
case UNWAKE_UPLOAD_ROAD_CONDITION:
|
||||
MogoApisHandler.getInstance().getApis().getShareManager().onGlobalUnwake(intentStr, intent);
|
||||
break;
|
||||
case VOICE_QUERY_HISTORY_INDEX:
|
||||
Intent startForHis = new Intent( Intent.ACTION_VIEW );
|
||||
startForHis.addFlags( Intent.FLAG_ACTIVITY_NEW_TASK );
|
||||
startForHis.setData( Uri.parse( "mogo://launcher/main/switch2?type=showHistoryPanel" ) );
|
||||
context.startActivity( startForHis );
|
||||
case VOICE_QUERY_SURROUNDING_INDEX:
|
||||
Intent startForSurrounding = new Intent( Intent.ACTION_VIEW );
|
||||
startForSurrounding.addFlags( Intent.FLAG_ACTIVITY_NEW_TASK );
|
||||
startForSurrounding.setData( Uri.parse( "mogo://launcher/main/switch2?type=showSurroundingPanel" ) );
|
||||
context.startActivity( startForSurrounding );
|
||||
case VOICE_QUERY_HEART_INDEX:
|
||||
Intent start = new Intent( Intent.ACTION_VIEW );
|
||||
start.addFlags( Intent.FLAG_ACTIVITY_NEW_TASK );
|
||||
|
||||
Reference in New Issue
Block a user