Request focus in wifi screen in add network and secure wifi
Request focus from parent view in controller. Based on framework patch, it can be placed in a parent and focus will go to whatever view is the default focusable in that hierarchy. Fixes: 68776177 Fixes: 72882629 Test: RunSettingsRobotests and Manual test Change-Id: I3bcdc4ec814f68079a00e40435f46bdfa53f4425
This commit is contained in:
@@ -363,6 +363,9 @@ public class WifiConfigController implements TextWatcher,
|
||||
if (mConfigUi.getSubmitButton() != null) {
|
||||
enableSubmitIfAppropriate();
|
||||
}
|
||||
|
||||
// After done view show and hide, request focus from parent view
|
||||
mView.findViewById(R.id.l_wifidialog).requestFocus();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
Reference in New Issue
Block a user