mtePolicy property
Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device.
The device needs to be rebooted to apply changes to the MTE policy.
Optional. Possible string values are:
- "MTE_POLICY_UNSPECIFIED" : Unspecified. Defaults to MTE_USER_CHOICE.
- "MTE_USER_CHOICE" : The user can choose to enable or disable MTE on the device if the device supports this.
- "MTE_ENFORCED" : MTE is enabled on the device and the user is not allowed to change this setting. This can be set on fully managed devices and work profiles on company-owned devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not support MTE.Supported on Android 14 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.
- "MTE_DISABLED" : MTE is disabled on the device and the user is not allowed to change this setting. This applies only on fully managed devices. In other cases, a nonComplianceDetail with MANAGEMENT_MODE is reported. A nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not support MTE.Supported on Android 14 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.
Implementation
core.String? mtePolicy;