<?xml version="1.0" encoding="utf-8"?>
<!--
  DVR Time Traveler — Android Managed App Restrictions Schema
  ===========================================================
  Defines the configuration keys available to MDM/EMM administrators
  (Google Workspace EMM, Intune, Jamf, etc.) via the Android
  Managed Configurations API (RestrictionsManager).

  Deploy this app through managed Google Play, then push these keys
  from your EMM console to enrolled devices.
-->
<restrictions xmlns:android="http://schemas.android.com/apk/res/android">

  <!-- ═══════════════════════════════════════════════════════
       GROUP 1 — Enterprise Licensing
       ═══════════════════════════════════════════════════════ -->

  <restriction
      android:key="enterprise_license_key"
      android:title="@string/restriction_enterprise_license_key_title"
      android:description="@string/restriction_enterprise_license_key_desc"
      android:restrictionType="string"
      android:defaultValue=""/>

  <restriction
      android:key="organization_name"
      android:title="@string/restriction_organization_name_title"
      android:description="@string/restriction_organization_name_desc"
      android:restrictionType="string"
      android:defaultValue=""/>

  <!-- ═══════════════════════════════════════════════════════
       GROUP 2 — Feature Control
       ═══════════════════════════════════════════════════════ -->

  <restriction
      android:key="disable_notes_feature"
      android:title="@string/restriction_disable_notes_title"
      android:description="@string/restriction_disable_notes_desc"
      android:restrictionType="bool"
      android:defaultValue="false"/>

  <restriction
      android:key="disable_patterns_feature"
      android:title="@string/restriction_disable_patterns_title"
      android:description="@string/restriction_disable_patterns_desc"
      android:restrictionType="bool"
      android:defaultValue="false"/>

  <restriction
      android:key="disable_in_app_purchases"
      android:title="@string/restriction_disable_iap_title"
      android:description="@string/restriction_disable_iap_desc"
      android:restrictionType="bool"
      android:defaultValue="true"/>

  <!-- ═══════════════════════════════════════════════════════
       GROUP 3 — Logo Management
       ═══════════════════════════════════════════════════════ -->

  <restriction
      android:key="logo_position_locked"
      android:title="@string/restriction_logo_position_locked_title"
      android:description="@string/restriction_logo_position_locked_desc"
      android:restrictionType="bool"
      android:defaultValue="false"/>

  <restriction
      android:key="logo_position_value"
      android:title="@string/restriction_logo_position_value_title"
      android:description="@string/restriction_logo_position_value_desc"
      android:restrictionType="choice"
      android:entries="@array/restriction_logo_position_entries"
      android:entryValues="@array/restriction_logo_position_entry_values"
      android:defaultValue="left"/>

  <!-- ═══════════════════════════════════════════════════════
       GROUP 4 — Report Language
       ═══════════════════════════════════════════════════════ -->

  <restriction
      android:key="report_language_locked"
      android:title="@string/restriction_report_language_locked_title"
      android:description="@string/restriction_report_language_locked_desc"
      android:restrictionType="bool"
      android:defaultValue="false"/>

  <restriction
      android:key="report_language_value"
      android:title="@string/restriction_report_language_value_title"
      android:description="@string/restriction_report_language_value_desc"
      android:restrictionType="choice"
      android:entries="@array/restriction_language_entries"
      android:entryValues="@array/restriction_language_entry_values"
      android:defaultValue=""/>

  <!-- ═══════════════════════════════════════════════════════
       GROUP 5 — Support
       ═══════════════════════════════════════════════════════ -->

  <restriction
      android:key="custom_support_email"
      android:title="@string/restriction_custom_support_email_title"
      android:description="@string/restriction_custom_support_email_desc"
      android:restrictionType="string"
      android:defaultValue=""/>

  <restriction
      android:key="custom_support_url"
      android:title="@string/restriction_custom_support_url_title"
      android:description="@string/restriction_custom_support_url_desc"
      android:restrictionType="string"
      android:defaultValue=""/>

  <!-- ═══════════════════════════════════════════════════════
       GROUP 6 — Deployment
       ═══════════════════════════════════════════════════════ -->

  <restriction
      android:key="deployment_notes"
      android:title="@string/restriction_deployment_notes_title"
      android:description="@string/restriction_deployment_notes_desc"
      android:restrictionType="string"
      android:defaultValue=""/>

</restrictions>
