Bug 2246631 - Show soft keyboard on launcher dialogs
This commit is contained in:
@@ -1559,6 +1559,10 @@ public final class Launcher extends Activity
|
||||
final AlertDialog dialog = builder.create();
|
||||
dialog.setOnShowListener(new DialogInterface.OnShowListener() {
|
||||
public void onShow(DialogInterface dialog) {
|
||||
mInput.requestFocus();
|
||||
InputMethodManager inputManager = (InputMethodManager)
|
||||
getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
inputManager.showSoftInput(mInput, 0);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user