[MTE] Add comment about required reboot

Bug: 244290023
Change-Id: I3fa91c446f0c9e9be68957a938b71ca649f49539
This commit is contained in:
Florian Mayer
2022-12-15 11:21:25 -08:00
parent c6acdbfc3c
commit 4f64aa486c

View File

@@ -3920,6 +3920,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