Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0c216d3 authored by Zoltan Szatmary-Ban's avatar Zoltan Szatmary-Ban Committed by Android (Google) Code Review
Browse files

Merge "Disambiguate categories in Settings > Trusted Credentials" into lmp-dev

parents f7b56708 af0f89ff
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -316,7 +316,11 @@ public class TrustedCredentialsSettings extends Fragment {
            final TextView title = (TextView) convertView.findViewById(android.R.id.title);
            final UserHandle profile = getGroup(groupPosition);
            final UserInfo userInfo = mUserManager.getUserInfo(profile.getIdentifier());
            title.setText(userInfo.name);
            if (userInfo.isManagedProfile()) {
                title.setText(R.string.category_work);
            } else {
                title.setText(R.string.category_personal);
            }
            title.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_END);

            return convertView;