summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/profiles
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-01-08 14:02:24 -0800
committerAdnan Begovic <adnan@cyngn.com>2015-10-26 16:11:14 -0700
commit73049f38f429fb861a993bf8743c9d5bfb74ba79 (patch)
tree36c0c2249f47b466cb1ba9de0d6e828232881797 /src/com/android/settings/profiles
parent62ffeab6b831e2b0af6d83d8f9a3d068c439dd09 (diff)
downloadpackages_apps_Settings-73049f38f429fb861a993bf8743c9d5bfb74ba79.zip
packages_apps_Settings-73049f38f429fb861a993bf8743c9d5bfb74ba79.tar.gz
packages_apps_Settings-73049f38f429fb861a993bf8743c9d5bfb74ba79.tar.bz2
Settings: select text when editing name
Makes it easier to rename them. Change-Id: I63f7b7ce393acec8ebf8ae937434bd830e9e5128 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r--src/com/android/settings/profiles/SetupActionsFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/profiles/SetupActionsFragment.java b/src/com/android/settings/profiles/SetupActionsFragment.java
index 8f79fad..2cb4b96 100644
--- a/src/com/android/settings/profiles/SetupActionsFragment.java
+++ b/src/com/android/settings/profiles/SetupActionsFragment.java
@@ -649,6 +649,7 @@ public class SetupActionsFragment extends SettingsPreferenceFragment
final EditText entry = (EditText) dialogView.findViewById(R.id.name);
entry.setText(mProfile.getName());
+ entry.setSelectAllOnFocus(true);
new AlertDialog.Builder(getActivity())
.setTitle(R.string.rename_dialog_title)