am 73662629
: am 21f008e1
: Merge "Update strings for clarity about restricted profiles" into jb-mr2-dev
* commit '73662629957e03ef23cd1bc33640ce7d1e690e90': Update strings for clarity about restricted profiles
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user