diff options
author | Amith Yamasani <yamasani@google.com> | 2013-05-22 12:51:30 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2013-05-22 12:51:30 -0700 |
commit | 7c4dfccda44efa98b804dd5d07cd28e9e5761ca3 (patch) | |
tree | b024207fb75982606bfa3b293380c23e2fd7b9b2 /src/com/android/settings/users | |
parent | f88e6e5ae6a5a31d47677dcbd9be2b26c6615136 (diff) | |
download | packages_apps_Settings-7c4dfccda44efa98b804dd5d07cd28e9e5761ca3.tar.gz packages_apps_Settings-7c4dfccda44efa98b804dd5d07cd28e9e5761ca3.tar.bz2 packages_apps_Settings-7c4dfccda44efa98b804dd5d07cd28e9e5761ca3.zip |
Update strings for clarity about restricted profiles
Bug: 9051422
Bug: 9051178
Change-Id: I1b88286fdd0db27bb6980d0ebbc846370fd0082e
Diffstat (limited to 'src/com/android/settings/users')
-rw-r--r-- | src/com/android/settings/users/UserSettings.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/android/settings/users/UserSettings.java b/src/com/android/settings/users/UserSettings.java index 8961500f9..a19158f04 100644 --- a/src/com/android/settings/users/UserSettings.java +++ b/src/com/android/settings/users/UserSettings.java @@ -376,13 +376,9 @@ public class UserSettings extends SettingsPreferenceFragment Bundle extras = new Bundle(); extras.putInt(AppRestrictionsFragment.EXTRA_USER_ID, userId); extras.putBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, newUser); - String title = getResources().getString(R.string.user_new_user_name); - if (userId > UserHandle.USER_OWNER) { - title = mUserManager.getUserInfo(userId).name; - } ((PreferenceActivity) getActivity()).startPreferencePanel( AppRestrictionsFragment.class.getName(), - extras, 0, title, + extras, R.string.user_restrictions_title, null, null, 0); } else if (info.id == UserHandle.myUserId()) { // Jump to owner info panel |