Three kinds of owner info - owner, user and profile
Bug: 8736733 Put the summary "Restricted profile" under the user name in app restrictions panel. Bug: 8736734 Change-Id: I6b724bd10a9246eb57831bffb737a48c01e0c285
This commit is contained in:
@@ -81,7 +81,11 @@ public class OwnerInfoSettings extends Fragment {
|
||||
}
|
||||
mCheckbox.setChecked(enabled);
|
||||
if (UserHandle.myUserId() != UserHandle.USER_OWNER) {
|
||||
mCheckbox.setText(R.string.show_user_info_on_lockscreen_label);
|
||||
if (UserManager.get(getActivity()).isLinkedUser()) {
|
||||
mCheckbox.setText(R.string.show_profile_info_on_lockscreen_label);
|
||||
} else {
|
||||
mCheckbox.setText(R.string.show_user_info_on_lockscreen_label);
|
||||
}
|
||||
}
|
||||
mCheckbox.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
|
Reference in New Issue
Block a user