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

Commit fbc19ba2 authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by Android (Google) Code Review
Browse files

Merge "docs: Wi-Fi settings example now uses Settings constant correctly" into nyc-dev

parents 2dbf06da 4d215ad4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }