maranR
maranR

Reputation: 423

How to enable the screen orientation(Landscape and portrait) in kiosk mode using android management api

While implementing the kiosk mode setup using the Android management API, I encountered a successful implementation. However, I now need to configure the display screen orientation for the kiosk mode.

here is my PolicyJson

{
  "applications": [
    {
      "defaultPermissionPolicy": "GRANT",
      "installType": "FORCE_INSTALLED",
      "packageName": "com.google.android.apps.tachyon"
    },
    {
      "packageName": "com.google.youtube",
      "installType": "KIOSK"
    }
  ],

  "systemUpdate": {
    "type": "WINDOWED",
    "startMinutes": 120,
    "endMinutes": 240
  },
  "appAutoUpdatePolicy": "ALWAYS",
  "bluetoothContactSharingDisabled": true,
  "bluetoothDisabled": true,
  "bluetoothConfigDisabled": true,
  "advancedSecurityOverrides": {
    "developerSettings": "DEVELOPER_SETTINGS_ALLOWED"
  },
  "policyEnforcementRules": [
    {
      "settingName": "passwordPolicies",
      "blockAction": {
        "blockAfterDays": 1
      },
      "wipeAction": {
        "wipeAfterDays": 30
      }
    }
  ]
}

Could someone please provide guidance or instructions on how to accomplish this task?

Upvotes: 2

Views: 898

Answers (0)

Related Questions