Add static IP UI

Remove the existing UI and add per network static IP config option

Change-Id: I9b8636e1559de9691144fdb54e20d40985896650
This commit is contained in:
Irfan Sheriff
2010-08-30 17:03:28 -07:00
parent 69923835cf
commit f027ce5e02
7 changed files with 284 additions and 267 deletions

View File

@@ -288,9 +288,7 @@ public class WifiSettings extends SettingsPreferenceFragment
}
if (mSelectedAccessPoint.networkId != -1) {
menu.add(Menu.NONE, MENU_ID_FORGET, 0, R.string.wifi_menu_forget);
if (mSelectedAccessPoint.security != AccessPoint.SECURITY_NONE) {
menu.add(Menu.NONE, MENU_ID_MODIFY, 0, R.string.wifi_menu_modify);
}
menu.add(Menu.NONE, MENU_ID_MODIFY, 0, R.string.wifi_menu_modify);
}
}
}