我一直在尝试从 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)
我假设禁用导航的枚举格式不正确
谢谢