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:
*
- * - {@link Settings.Global#ADB_ENABLED}
- * - {@link Settings.Global#AUTO_TIME}
- * - {@link Settings.Global#AUTO_TIME_ZONE}
- * - {@link Settings.Global#DATA_ROAMING}
- * - {@link Settings.Global#USB_MASS_STORAGE_ENABLED}
- * - {@link Settings.Global#WIFI_SLEEP_POLICY}
- * - {@link Settings.Global#STAY_ON_WHILE_PLUGGED_IN} This setting is only available from
- * {@link android.os.Build.VERSION_CODES#M} onwards and can only be set if
+ *
- {@link android.provider.Settings.Global#ADB_ENABLED}
+ * - {@link android.provider.Settings.Global#AUTO_TIME}
+ * - {@link android.provider.Settings.Global#AUTO_TIME_ZONE}
+ * - {@link android.provider.Settings.Global#DATA_ROAMING}
+ * - {@link android.provider.Settings.Global#USB_MASS_STORAGE_ENABLED}
+ * - {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY}
+ * - {@link android.provider.Settings.Global#STAY_ON_WHILE_PLUGGED_IN} This setting is only
+ * available from {@link android.os.Build.VERSION_CODES#M} onwards and can only be set if
* {@link #setMaximumTimeToLock} is not used to set a timeout.
- * - {@link Settings.Global#WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN}
This setting is only
- * available from {@link android.os.Build.VERSION_CODES#M} onwards.
+ * - {@link android.provider.Settings.Global#WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN}
This
+ * setting is only available from {@link android.os.Build.VERSION_CODES#M} onwards.
*
*
* Changing the following settings has no effect as of {@link android.os.Build.VERSION_CODES#M}:
*
- * - {@link Settings.Global#BLUETOOTH_ON}. Use
+ *
- {@link android.provider.Settings.Global#BLUETOOTH_ON}. Use
* {@link android.bluetooth.BluetoothAdapter#enable()} and
* {@link android.bluetooth.BluetoothAdapter#disable()} instead.
- * - {@link Settings.Global#DEVELOPMENT_SETTINGS_ENABLED}
- * - {@link Settings.Global#MODE_RINGER}. Use
+ *
- {@link android.provider.Settings.Global#DEVELOPMENT_SETTINGS_ENABLED}
+ * - {@link android.provider.Settings.Global#MODE_RINGER}. Use
* {@link android.media.AudioManager#setRingerMode(int)} instead.
- * - {@link Settings.Global#NETWORK_PREFERENCE}
- * - {@link Settings.Global#WIFI_ON}. Use
+ *
- {@link android.provider.Settings.Global#NETWORK_PREFERENCE}
+ * - {@link android.provider.Settings.Global#WIFI_ON}. Use
* {@link android.net.wifi.WifiManager#setWifiEnabled(boolean)} instead.
*
*
@@ -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:
*
- * - {@link Settings.Secure#DEFAULT_INPUT_METHOD}
- * - {@link Settings.Secure#SKIP_FIRST_USE_HINTS}
+ * - {@link android.provider.Settings.Secure#DEFAULT_INPUT_METHOD}
+ * - {@link android.provider.Settings.Secure#SKIP_FIRST_USE_HINTS}
*
*
* A device owner can additionally update the following settings:
*
- * - {@link Settings.Secure#LOCATION_MODE}
+ * - {@link android.provider.Settings.Secure#LOCATION_MODE}
*
*
* Note: Starting from Android O, apps should no longer call this method with the