Merge "Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings."
This commit is contained in:
@@ -35032,6 +35032,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_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_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_WIRELESS_SETTINGS = "android.settings.WIRELESS_SETTINGS";
|
||||
field public static final java.lang.String AUTHORITY = "settings";
|
||||
|
||||
@@ -369,6 +369,22 @@ public final class Settings {
|
||||
public static final String ACTION_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.
|
||||
* <p>
|
||||
|
||||
@@ -349,6 +349,7 @@ public class SettingsProviderTest extends AndroidTestCase {
|
||||
assertCanBeHandled(new Intent(Settings.ACTION_USER_DICTIONARY_SETTINGS));
|
||||
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_IP_SETTINGS));
|
||||
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_SETTINGS));
|
||||
assertCanBeHandled(new Intent(Settings.ACTION_WIFI_SAVED_NETWORK_SETTINGS));
|
||||
assertCanBeHandled(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user