Merge "[Settings] Request focus in Add network dialog"

This commit is contained in:
TreeHugger Robot
2018-03-08 04:12:01 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ public class WifiConfigController implements TextWatcher,
mSsidView = (TextView) mView.findViewById(R.id.ssid);
mSsidView.addTextChangedListener(this);
mSsidView.requestFocus();
mSecuritySpinner = ((Spinner) mView.findViewById(R.id.security));
mSecuritySpinner.setOnItemSelectedListener(this);
mView.findViewById(R.id.type).setVisibility(View.VISIBLE);