From e1df8de9378720d12d160e8a16b84cfb39c2810e Mon Sep 17 00:00:00 2001 From: Alex Johnston Date: Thu, 9 Feb 2023 10:56:17 +0000 Subject: [PATCH] Fix setAutoTimeRequired docs Bug: 266693620 Change-Id: I051a5d49727814e78c527bc03a2018574ec298b7 Test: NA --- core/java/android/app/admin/DevicePolicyManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 03099f8eb0e45..0d640f290860c 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -8489,7 +8489,8 @@ public class DevicePolicyManager { * higher, to set whether auto time is required. If auto time is required, no user will be able * set the date and time and network date and time will be used. *

- * Note: if auto time is required the user can still manually set the time zone. + * Note: If auto time is required the user can still manually set the time zone. Staring from + * Android 11, if auto time is required, the user cannot manually set the time zone. *

* The calling device admin must be a device owner, or alternatively a profile owner from * Android 8.0 (API level 26) or higher. If it is not, a security exception will be thrown.