智能客服
你问我答,随时在线为你解决问题
完成上述所有步骤后,即所有云端的准备工作已完成,该步骤将实现在中控屏上分配坑位并显示首页卡片UX;
伙伴将自行编写step1、step2和step3脚本:
adb shell settings put secure launcher_custom_layout '' adb shell settings put secure pluginCardConfig '' adb shell pm clear com.huawei.android.launcher adb shell pm clear com.huawei.smarthome.extend
b) 运行step2.cmd
adb shell settings put secure launcher_custom_layout '[{\"layout\":[{\"x\":\"0\",\"y\":\"0\",\"spanX\":\"1\",\"spanY\":\"2\",\"pageIndex\":1,\"tag\":\"XXXXXXX\"}],\"priority\":1,\"condition\":\"none\",\"screensize\":\"10\",\"loginStatus\":\"logout\"}]' c) 运行step3.cmd
adb shell settings put secure pluginCardConfig '[{\"buildPort\":0,\"featureName\":\"XXXXXX\",\"panelSize\":\"10\",\"pluginName\":\"com.xxx.xxx\",\"uiTemplateType\":\"TEMPLATE_TYPE_4\"}]'
pause 最终将完成step1.cmd,step2.cmd, step3.cmd这三个脚本;