Disable Android navigation in Kiosk Mode (Android Management API)

筅森魡賤 提交于 2020-07-22 21:39:27

问题


We have a Kiosk mode setup completed using Android Management API with our launcher app acting as kiosk app. However customizations applied through policy are not working as per expected.

"kioskCustomization": {
  "systemNavigation":"HOME_BUTTON_ONLY",
  "statusBar":"SYSTEM_INFO_ONLY",
  "deviceSettings":"SETTINGS_ACCESS_BLOCKED"
}

We have this in the policy and it is getting synced to device but still all buttons in navigation bar working and still we can able to access settings. What we need to do in order to disable navigation bar in kiosk mode? If we have app in full screen it is just hiding them but not disabling them. Also is there way to disable gestures also?


回答1:


I don't have enough reputation to reply to H.T. Koo, but I also noticed that when I applied:

"kioskCustomization": {
  "systemNavigation":"NAVIGATION_ENABLED"
}

That it didn't work when I had the "installType":"KIOSK" set for an app, so this might indeed be a bug.

That being said, are you in kiosk mode via installType, or are you using "kioskCustomLauncherEnabled":true? The former setting might be why it's not updating.



来源:https://stackoverflow.com/questions/59986375/disable-android-navigation-in-kiosk-mode-android-management-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!