diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd index e6c9fc691cbb7..47174d2ea9d44 100644 --- a/docs/html/guide/components/intents-common.jd +++ b/docs/html/guide/components/intents-common.jd @@ -2155,7 +2155,7 @@ that are available.
Example intent:
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);
}