docs: Wi-Fi settings example now uses Settings constant correctly
am: 4d215ad49c
Change-Id: I0b93da95d9b151a3549c39dd1d23744b53799f12
This commit is contained in:
@@ -2155,7 +2155,7 @@ that are available.</p>
|
||||
<p><b>Example intent:</b></p>
|
||||
<pre>
|
||||
public void openWifiSettings() {
|
||||
Intent intent = new Intent(Intent.ACTION_WIFI_SETTINGS);
|
||||
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
|
||||
if (intent.resolveActivity(getPackageManager()) != null) {
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user