Unhiding strong auth timeout API
Unhiding the API that was previously hidden (in order to ship in MR1).
Bug: 29825955
Change-Id: Ifce73b1917b939e68e9a8dd2cc7379717214b8b7
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index 0196312..ef1e55a 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -2372,8 +2372,6 @@
* {@link #KEYGUARD_DISABLE_TRUST_AGENTS}.
*
* @throws SecurityException if {@code admin} is not a device or profile owner.
- *
- * @hide
*/
public void setRequiredStrongAuthTimeout(@NonNull ComponentName admin,
long timeoutMs) {
@@ -2398,8 +2396,6 @@
* @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.
- *
- * @hide
*/
public long getRequiredStrongAuthTimeout(@Nullable ComponentName admin) {
return getRequiredStrongAuthTimeout(admin, myUserId());
@@ -6159,6 +6155,8 @@
* <li>{@link #setKeyguardDisabledFeatures}</li>
* <li>{@link #getTrustAgentConfiguration}</li>
* <li>{@link #setTrustAgentConfiguration}</li>
+ * <li>{@link #getRequiredStrongAuthTimeout}</li>
+ * <li>{@link #setRequiredStrongAuthTimeout}</li>
* </ul>
*
* @return a new instance of {@link DevicePolicyManager} that acts on the parent profile.