Merge "Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings."
am: 6e54c31f0a
Change-Id: Ie3b4a3ed5e2858ce2b3446c300c984875201205c
This commit is contained in:
@@ -35187,6 +35187,7 @@ package android.provider {
|
|||||||
field public static final java.lang.String ACTION_VR_LISTENER_SETTINGS = "android.settings.VR_LISTENER_SETTINGS";
|
field public static final java.lang.String ACTION_VR_LISTENER_SETTINGS = "android.settings.VR_LISTENER_SETTINGS";
|
||||||
field public static final java.lang.String ACTION_WEBVIEW_SETTINGS = "android.settings.WEBVIEW_SETTINGS";
|
field public static final java.lang.String ACTION_WEBVIEW_SETTINGS = "android.settings.WEBVIEW_SETTINGS";
|
||||||
field public static final java.lang.String ACTION_WIFI_IP_SETTINGS = "android.settings.WIFI_IP_SETTINGS";
|
field public static final java.lang.String ACTION_WIFI_IP_SETTINGS = "android.settings.WIFI_IP_SETTINGS";
|
||||||
|
field public static final java.lang.String ACTION_WIFI_SAVED_NETWORK_SETTINGS = "android.settings.WIFI_SAVED_NETWORK_SETTINGS";
|
||||||
field public static final java.lang.String ACTION_WIFI_SETTINGS = "android.settings.WIFI_SETTINGS";
|
field public static final java.lang.String ACTION_WIFI_SETTINGS = "android.settings.WIFI_SETTINGS";
|
||||||
field public static final java.lang.String ACTION_WIRELESS_SETTINGS = "android.settings.WIRELESS_SETTINGS";
|
field public static final java.lang.String ACTION_WIRELESS_SETTINGS = "android.settings.WIRELESS_SETTINGS";
|
||||||
field public static final java.lang.String AUTHORITY = "settings";
|
field public static final java.lang.String AUTHORITY = "settings";
|
||||||
|
|||||||
@@ -368,6 +368,22 @@ public final class Settings {
|
|||||||
public static final String ACTION_WIFI_IP_SETTINGS =
|
public static final String ACTION_WIFI_IP_SETTINGS =
|
||||||
"android.settings.WIFI_IP_SETTINGS";
|
"android.settings.WIFI_IP_SETTINGS";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Activity Action: Show settings to allow configuration of Wi-Fi saved networks.
|
||||||
|
* <p>
|
||||||
|
* In some cases, a matching Activity may not exist, so ensure you
|
||||||
|
* safeguard against this.
|
||||||
|
* <p>
|
||||||
|
* Input: Nothing.
|
||||||
|
* <p>
|
||||||
|
* Output: Nothing.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
@SystemApi
|
||||||
|
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||||
|
public static final String ACTION_WIFI_SAVED_NETWORK_SETTINGS =
|
||||||
|
"android.settings.WIFI_SAVED_NETWORK_SETTINGS";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Activity Action: Show settings to allow configuration of Bluetooth.
|
* Activity Action: Show settings to allow configuration of Bluetooth.
|
||||||
* <p>
|
* <p>
|
||||||
|
|||||||
@@ -349,6 +349,7 @@ public class SettingsProviderTest extends AndroidTestCase {
|
|||||||
assertCanBeHandled(new Intent(Settings.ACTION_USER_DICTIONARY_SETTINGS));
|
assertCanBeHandled(new Intent(Settings.ACTION_USER_DICTIONARY_SETTINGS));
|
||||||
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_IP_SETTINGS));
|
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_IP_SETTINGS));
|
||||||
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_SETTINGS));
|
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_SETTINGS));
|
||||||
|
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_SAVED_NETWORK_SETTINGS));
|
||||||
assertCanBeHandled(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
|
assertCanBeHandled(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user