From 482bb2343f60fbcdad88cd31e67f8d23a9037ec5 Mon Sep 17 00:00:00 2001 From: Benjamin Franz Date: Fri, 23 Jun 2017 13:48:20 +0100 Subject: [PATCH] Remove 'unused' import Unused import android.provider.Settings previously caused checkstyle script to bark on DevicePolicyManager. Remove the import and update all usages of it in javadocs. Bug: 37890361 Test: make docs Change-Id: I3134d97274b2882060f5172170517ce501d5aafd --- .../app/admin/DevicePolicyManager.java | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index ff9425ebd1557..d0091b6646dd3 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -55,7 +55,6 @@ import android.os.RemoteException; import android.os.UserHandle; import android.os.UserManager; import android.provider.ContactsContract.Directory; -import android.provider.Settings; import android.security.Credentials; import android.service.restrictions.RestrictionsReceiver; import android.telephony.TelephonyManager; @@ -6417,34 +6416,35 @@ public class DevicePolicyManager { } /** - * Called by device owners to update {@link Settings.Global} settings. Validation that the value - * of the setting is in the correct form for the setting type should be performed by the caller. + * Called by device owners to update {@link android.provider.Settings.Global} settings. + * Validation that the value of the setting is in the correct form for the setting type should + * be performed by the caller. *

* The settings that can be updated with this method are: *

*

* Changing the following settings has no effect as of {@link android.os.Build.VERSION_CODES#M}: *

* @@ -6465,19 +6465,19 @@ public class DevicePolicyManager { } /** - * Called by profile or device owners to update {@link Settings.Secure} settings. Validation - * that the value of the setting is in the correct form for the setting type should be performed - * by the caller. + * Called by profile or device owners to update {@link android.provider.Settings.Secure} + * settings. Validation that the value of the setting is in the correct form for the setting + * type should be performed by the caller. *

* The settings that can be updated by a profile or device owner with this method are: *

*

* A device owner can additionally update the following settings: *

* * Note: Starting from Android O, apps should no longer call this method with the