Merge "Pop up soft keyboard when rename dialog shows" into sc-dev am: 1f7c6f03b9

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14111143

Change-Id: I56bd581e207a610362c629ddb02c7b066731da92
diff --git a/src/com/android/settings/deviceinfo/storage/StorageRenameFragment.java b/src/com/android/settings/deviceinfo/storage/StorageRenameFragment.java
index c67fe33..c6eb0c8 100644
--- a/src/com/android/settings/deviceinfo/storage/StorageRenameFragment.java
+++ b/src/com/android/settings/deviceinfo/storage/StorageRenameFragment.java
@@ -68,6 +68,7 @@
         final View view = dialogInflater.inflate(R.layout.dialog_edittext, null, false);
         final EditText nickname = (EditText) view.findViewById(R.id.edittext);
         nickname.setText(rec.getNickname());
+        nickname.requestFocus();
 
         return builder.setTitle(R.string.storage_rename_title)
                 .setView(view)