[Wi-Fi] Request focus on input field when config a WiFi network

For better user experience, recover the dialog focus command to get password field focused.

Bug: 158393164
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
Change-Id: I343a7b43bd1ad2478991051b0bd8ef6082f75dc1
This commit is contained in:
govenliu
2020-06-10 13:51:13 +08:00
committed by Goven Liu
parent e92cbd19d8
commit dfdcdf1330
2 changed files with 3 additions and 14 deletions

View File

@@ -113,8 +113,7 @@ public class ConfigureWifiEntryFragment extends InstrumentedFragment implements
mSubmitBtn.setOnClickListener(view -> handleSubmitAction());
mCancelBtn.setOnClickListener(view -> handleCancelAction());
mUiController = new WifiConfigController2(this, rootView, mWifiEntry,
getMode(), false /* requestFocus */);
mUiController = new WifiConfigController2(this, rootView, mWifiEntry, getMode());
/**
* For this add WifiEntry UI, need to remove the Home button, so set related feature as