diff options
| author | 2016-09-26 22:56:50 +0000 | |
|---|---|---|
| committer | 2016-09-26 22:56:50 +0000 | |
| commit | 0bf02f3d48027949535bfb03062df31d975a22f7 (patch) | |
| tree | 0301caa2025bbf36814271e09c5092465e0b165b /docs/html/guide | |
| parent | 720138d5d76690272428c3048fe350b7458e8335 (diff) | |
| parent | 4d215ad49c3ffc75967679d65b840909289027a5 (diff) | |
docs: Wi-Fi settings example now uses Settings constant correctly
am: 4d215ad49c
Change-Id: I70db3b4cc271b0860c59fb8365f468a930c75fd9
Diffstat (limited to 'docs/html/guide')
| -rw-r--r-- | docs/html/guide/components/intents-common.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd index e6c9fc691cbb..47174d2ea9d4 100644 --- a/docs/html/guide/components/intents-common.jd +++ b/docs/html/guide/components/intents-common.jd @@ -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); } |