diff options
| author | 2017-04-25 12:13:16 +0000 | |
|---|---|---|
| committer | 2017-04-25 12:13:16 +0000 | |
| commit | dd0064d5b65e333ef7c71f2ab730f5b53bc52504 (patch) | |
| tree | d22f2234bde6ff3d9691a37375b96a68f9a743a7 | |
| parent | 33342dfd12e7cc6de40653b975548b41451db3e9 (diff) | |
| parent | 0a555a65950ab61212311e0f83331124c87e0f06 (diff) | |
Merge "Clarify time unit for StrongAuthTimeout APIs" into oc-dev am: 2c20a6db28
am: 0a555a6595
Change-Id: I6e22acaa9a183f97874f75ba71dc9ca1434ff60e
| -rw-r--r-- | core/java/android/app/admin/DevicePolicyManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 18918a32556f..502928df539d 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -2972,9 +2972,9 @@ public class DevicePolicyManager { * profile. * * @param admin Which {@link DeviceAdminReceiver} this request is associated with. - * @param timeoutMs The new timeout, after which the user will have to unlock with strong - * authentication method. A value of 0 means the admin is not participating in - * controlling the timeout. + * @param timeoutMs The new timeout in milliseconds, after which the user will have to unlock + * with strong authentication method. A value of 0 means the admin is not participating + * in controlling the timeout. * The minimum and maximum timeouts are platform-defined and are typically 1 hour and * 72 hours, respectively. Though discouraged, the admin may choose to require strong * auth at all times using {@link #KEYGUARD_DISABLE_FINGERPRINT} and/or @@ -3004,7 +3004,7 @@ public class DevicePolicyManager { * * @param admin The name of the admin component to check, or {@code null} to aggregate * accross all participating admins. - * @return The timeout or 0 if not configured for the provided admin. + * @return The timeout in milliseconds or 0 if not configured for the provided admin. */ public long getRequiredStrongAuthTimeout(@Nullable ComponentName admin) { return getRequiredStrongAuthTimeout(admin, myUserId()); |