diff options
| author | 2016-09-26 22:36:37 +0000 | |
|---|---|---|
| committer | 2016-09-26 22:36:40 +0000 | |
| commit | fbc19ba2cad725740df2b7bf2dca64f4544b7634 (patch) | |
| tree | 2a8dbe126d15003e2ddd01a04afeca45600ce186 /docs/html/guide | |
| parent | 2dbf06da2ba8be9673de105fd7043a93df62d36a (diff) | |
| parent | 4d215ad49c3ffc75967679d65b840909289027a5 (diff) | |
Merge "docs: Wi-Fi settings example now uses Settings constant correctly" into nyc-dev
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); } |