From 8040fd1b62ee4dbb8ac3941f3666d7fbe6bcd3e6 Mon Sep 17 00:00:00 2001 From: Benjamin Miller Date: Mon, 16 Apr 2018 15:52:15 +0000 Subject: Docs: update the method description for installKeyPair() to cover parameter change. Update the description to cover the parameter changed from (boolean)isUserSelectable to (int)flags. Bug: 78113127 Test: make ds-docs and inspect generated HTML. Change-Id: I8356ffd2d0a61f4c2c62bbf2440a6315399a33ef --- core/java/android/app/admin/DevicePolicyManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 61aaad216391..2feb459bcbdb 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -4066,8 +4066,8 @@ public class DevicePolicyManager { * immediately, without user approval. It is a best practice not to request this unless strictly * necessary since it opens up additional security vulnerabilities. * - *

Whether this key is offered to the user for approval at all or not depends on the - * {@code isUserSelectable} parameter. + *

Include {@link #INSTALLKEY_SET_USER_SELECTABLE} in the {@code flags} argument to allow + * the user to select the key from a dialog. * * @param admin Which {@link DeviceAdminReceiver} this request is associated with, or * {@code null} if calling from a delegated certificate installer. -- cgit v1.2.3-59-g8ed1b