Merge commit 'eb48882e18ba9b1241a4d79c0cd45d6994b6dec6' into eclair-mr2-plus-aosp * commit 'eb48882e18ba9b1241a4d79c0cd45d6994b6dec6': Minor change to use defined key rather than a string.
This commit is contained in:
@@ -143,7 +143,7 @@ public class WifiSettings extends PreferenceActivity implements WifiLayer.Callba
|
||||
// * this ordering logic is in AccessPointPreference's compareTo
|
||||
mApCategory.setOrderingAsAdded(false);
|
||||
|
||||
if (!getIntent().getBooleanExtra("only_access_points", false)) {
|
||||
if (!getIntent().getBooleanExtra(KEY_ONLY_ACCESS_POINTS, false)) {
|
||||
mWifiEnabled = (CheckBoxPreference) preferenceScreen.findPreference(KEY_WIFI_ENABLED);
|
||||
mWifiEnabler = new WifiEnabler(this, (WifiManager) getSystemService(WIFI_SERVICE),
|
||||
mWifiEnabled);
|
||||
|
Reference in New Issue
Block a user