From 4f64aa486c76497fce097760dac946358099115a Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Thu, 15 Dec 2022 11:21:25 -0800 Subject: [PATCH] [MTE] Add comment about required reboot Bug: 244290023 Change-Id: I3fa91c446f0c9e9be68957a938b71ca649f49539 --- core/java/android/app/admin/DevicePolicyManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 83398d60370b6..6b94360f30956 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -3920,6 +3920,8 @@ public class DevicePolicyManager { *

The MTE policy can only be set to {@link #MTE_DISABLED} if called by a device owner. * Otherwise a {@link SecurityException} will be thrown. * + *

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