intent = new Intent();
//intent.setAction("huawei.intent.action.HSM_BOOTAPP_MANAGER");//华为自启动界面
intent.setAction("huawei.intent.action.HSM_PROTECTED_APPS");//华为后台保护
//intent.setAction("miui.intent.action.OP_AUTO_START");//小米自启动
//intent.setAction("com.meizu.safe.PERMISSION_SETTING");//魅族权限管理
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivityForResult(intent, 0);
}
});
but for xiaomi tv,It can't work
网友评论