【发布时间】:2019-12-26 07:51:00
【问题描述】:
我一直在尝试从 android management API 的配置文件中禁用 kiosk 模式下的系统导航
这是正在尝试更新的个人资料
{
"applications": [
{
"packageName": "com.example.demo",
"installType": "FORCE_INSTALLED"
}
],
"kioskCustomLauncherEnabled": true,
"keyguardDisabled": true,
"statusBarDisabled": true,
"kioskCustomization": {
"systemNavigation": enum (NAVIGATION_DISABLED)
},
"debuggingFeaturesAllowed": true
}
在应用自助服务终端自定义时,这是即将出现的错误。 未应用“kioskCustomization”时,配置文件更新成功
/usr/lib/python3.6/json/decoder.py in raw_decode(self, s, idx)
355 obj, end = self.scan_once(s, idx)
356 except StopIteration as err:
--> 357 raise JSONDecodeError("Expecting value", s, err.value) from None
358 return obj, end
JSONDecodeError: Expecting value: line 13 column 26 (char 273)
我假设禁用导航的枚举格式不正确
谢谢
【问题讨论】:
标签: android android-management-api