summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tracie Chan <traciechan@google.com> 2025-03-04 00:04:33 +0000
committer Tracie Chan <traciechan@google.com> 2025-03-04 13:36:41 -0800
commit8e02eba964f09436338aeebb531aa5f49c3854ea (patch)
tree0aec3e9484264931631864fb74cb68dad1e04396
parent9a110e098d9fc66d2cf9dc7b74c973cc1f4af68f (diff)
Document when isKeyPairGrantedToWifiAuth throws IAE
Bug: 322733886 Test: atest android.devicepolicy.cts.DevicePolicyManagerTest Flag: DOCS_ONLY Change-Id: I876c310a4b06efda0d0cbe66c3c0a7e1f5cebcf0
-rw-r--r--core/java/android/app/admin/DevicePolicyManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index 08719fc549f8..5c2f1c78af2b 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -8269,6 +8269,7 @@ public class DevicePolicyManager {
*
* @throws SecurityException if the caller is not a device owner, a profile owner or
* delegated certificate chooser.
+ * @throws IllegalArgumentException if {@code alias} does not correspond to an existing key
* @see #grantKeyPairToWifiAuth
*/
public boolean isKeyPairGrantedToWifiAuth(@NonNull String alias) {