Merge branch 'dev_pull_unwake' into dev
This commit is contained in:
@@ -260,4 +260,9 @@ public class MogoServicePaths {
|
||||
* 在线好友面板
|
||||
*/
|
||||
public static final String PATH_ONLINE_CAR_PANEL = "/onlinecar/panel";
|
||||
|
||||
/**
|
||||
* 全局免唤醒
|
||||
*/
|
||||
public static final String PATH_GLOBAL_UNWAKE = "/global/unwake";
|
||||
}
|
||||
|
||||
@@ -4,12 +4,13 @@ import android.content.Context;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.service.module.IMogoModuleProvider;
|
||||
import com.mogo.service.voice.IMogoGlobalVoiceManager;
|
||||
|
||||
/**
|
||||
* 分享框管理接口
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoShareManager extends IProvider {
|
||||
public interface IMogoShareManager extends IProvider, IMogoGlobalVoiceManager {
|
||||
/**
|
||||
* 显示分享框
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.mogo.service.voice;
|
||||
|
||||
import android.content.Intent;
|
||||
|
||||
/**
|
||||
* 全局免唤醒指令处理监听
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoGlobalVoiceManager {
|
||||
/**
|
||||
* 收到全局免唤醒指令和唤醒词指令
|
||||
* @param cmd 具体指令
|
||||
*/
|
||||
void onGlobalUnwake(String cmd, Intent intent);
|
||||
}
|
||||
Reference in New Issue
Block a user