Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6279dcd3 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Settings(javadocs): Add alternatives for deprecated settings" into rvc-dev am: f5360ee0

Change-Id: Ia5ddb245dec7c49ad4c00a778886e928f1ab2d26
parents 7594c10b f5360ee0
Loading
Loading
Loading
Loading
+16 −6
Original line number Diff line number Diff line
@@ -53,7 +53,9 @@ import android.location.LocationManager;
import android.net.ConnectivityManager;
import android.net.NetworkScoreManager;
import android.net.Uri;
import android.net.wifi.SoftApConfiguration;
import android.net.wifi.WifiManager;
import android.net.wifi.p2p.WifiP2pManager;
import android.os.BatteryManager;
import android.os.Binder;
import android.os.Build.VERSION_CODES;
@@ -10272,7 +10274,8 @@ public final class Settings {
       /**
        * Setting to allow scans to be enabled even wifi is turned off for connectivity.
        * @hide
        * @deprecated To be removed.
        * @deprecated To be removed. Use {@link WifiManager#setScanAlwaysAvailable(boolean)} for
        * setting the value and {@link WifiManager#isScanAlwaysAvailable()} for query.
        */
       public static final String WIFI_SCAN_ALWAYS_AVAILABLE =
                "wifi_scan_always_enabled";
@@ -10292,7 +10295,9 @@ public final class Settings {
         *
         * Type: int (0 for false, 1 for true)
         * @hide
         * @deprecated To be removed.
         * @deprecated To be removed. Use {@link SoftApConfiguration.Builder#
         * setAutoShutdownEnabled(boolean)} for setting the value and {@link SoftApConfiguration#
         * isAutoShutdownEnabled()} for query.
         */
        public static final String SOFT_AP_TIMEOUT_ENABLED = "soft_ap_timeout_enabled";
@@ -10301,7 +10306,8 @@ public final class Settings {
         *
         * Type: int (0 for false, 1 for true)
         * @hide
         * @deprecated Use {@link WifiManager#isAutoWakeupEnabled()} instead.
         * @deprecated Use {@link WifiManager#setAutoWakeupEnabled(boolean)} for setting the value
         * and {@link WifiManager#isAutoWakeupEnabled()} for query.
         */
        @Deprecated
        @SystemApi
@@ -10381,7 +10387,8 @@ public final class Settings {
         *
         * Type: int (0 for false, 1 for true)
         * @hide
         * @deprecated To be removed.
         * @deprecated Use {@link WifiManager#setScanThrottleEnabled(boolean)} for setting the value
         * and {@link WifiManager#isScanThrottleEnabled()} for query.
         */
        public static final String WIFI_SCAN_THROTTLE_ENABLED = "wifi_scan_throttle_enabled";
@@ -10484,7 +10491,8 @@ public final class Settings {
        * Setting to enable verbose logging in Wi-Fi; disabled by default, and setting to 1
        * will enable it. In the future, additional values may be supported.
        * @hide
        * @deprecated To be removed.
        * @deprecated Use {@link WifiManager#setVerboseLoggingEnabled(boolean)} for setting the
        * value and {@link WifiManager#isVerboseLoggingEnabled()} for query.
        */
       public static final String WIFI_VERBOSE_LOGGING_ENABLED =
               "wifi_verbose_logging_enabled";
@@ -10553,7 +10561,9 @@ public final class Settings {
       /**
        * The Wi-Fi peer-to-peer device name
        * @hide
        * @deprecated To be removed.
        * @deprecated Use {@link WifiP2pManager#setDeviceName(WifiP2pManager.Channel, String,
        * WifiP2pManager.ActionListener)} for setting the value and
        * {@link android.net.wifi.p2p.WifiP2pDevice#deviceName} for query.
        */
       public static final String WIFI_P2P_DEVICE_NAME = "wifi_p2p_device_name";