Merge "[MTE] Add comment about required reboot"

This commit is contained in:
Florian Mayer
2022-12-16 17:47:21 +00:00
committed by Android (Google) Code Review

View File

@@ -3925,6 +3925,8 @@ public class DevicePolicyManager {
* <p>The MTE policy can only be set to {@link #MTE_DISABLED} if called by a device owner.
* Otherwise a {@link SecurityException} will be thrown.
*
* <p>The device needs to be rebooted to apply changes to the MTE policy.
*
* @throws SecurityException if caller is not device owner or profile owner of org-owned device
* or if called on a parent instance
* @param policy the MTE policy to be set