From 3951dd0107c17d5507f65caebfe7a6a3937d58d6 Mon Sep 17 00:00:00 2001 From: Stephanie Bak Date: Thu, 27 Jan 2022 22:20:52 +0000 Subject: [PATCH] Adding Wi-Fi security level order in doc Bug: 216628527 Test: atest DevicePolicyManagerTest Change-Id: I9211b3362f6c5cd93990600a6441fa58d9e59884 --- core/java/android/app/admin/DevicePolicyManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 3960f4e1518e5..3f9cab1174120 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -14767,6 +14767,11 @@ public class DevicePolicyManager { * The device may not connect to networks that do not meet the minimum security level. * If the current network does not meet the minimum security level set, it will be disconnected. * + * The following shows the Wi-Fi security levels from the lowest to the highest security level: + * {@link #WIFI_SECURITY_OPEN} + * {@link #WIFI_SECURITY_PERSONAL} + * {@link #WIFI_SECURITY_ENTERPRISE_EAP} + * {@link #WIFI_SECURITY_ENTERPRISE_192} * * @param level minimum security level * @throws SecurityException if the caller is not a device owner or a profile owner on