Move up wifi tethering settings one level.

Bug: 3249998

Remove an extra level of menu by moving the Configure Wi-Fi hotspot preference to the Tethering settings page.

Change-Id: I20b67ae1ddd7e9967c99ff6a8039799be792382f
This commit is contained in:
Amith Yamasani
2011-03-02 11:25:04 -08:00
parent 3400dda246
commit 84a042c6e9
7 changed files with 84 additions and 193 deletions

View File

@@ -39,16 +39,16 @@ import com.android.settings.R;
* Dialog to configure the SSID and security settings
* for Access Point operation
*/
class WifiApDialog extends AlertDialog implements View.OnClickListener,
public class WifiApDialog extends AlertDialog implements View.OnClickListener,
TextWatcher, AdapterView.OnItemSelectedListener {
static final int BUTTON_SUBMIT = DialogInterface.BUTTON_POSITIVE;
private final DialogInterface.OnClickListener mListener;
static final int OPEN_INDEX = 0;
static final int WPA_INDEX = 1;
static final int WPA2_INDEX = 2;
public static final int OPEN_INDEX = 0;
public static final int WPA_INDEX = 1;
public static final int WPA2_INDEX = 2;
private View mView;
private TextView mSsid;