问题
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