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

Commit 21bc28ca authored by Paul Chang's avatar Paul Chang Committed by Android (Google) Code Review
Browse files

Merge "Don't label non-system default handling app with sub text if there is only one profile."

parents 3e78df55 ca914a36
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -176,6 +176,9 @@ public class BugReportHandlerPicker extends DefaultAppPickerFragment {
        if (BugReportHandlerUtil.SHELL_APP_PACKAGE.equals(handlerApp)) {
            return context.getString(R.string.system_default_app_subtext);
        }
        if (mUserManager.getUserProfiles().size() < 2) {
            return "";
        }
        final UserInfo userInfo = mUserManager.getUserInfo(handlerUser);
        if (userInfo != null && userInfo.isManagedProfile()) {
            return context.getString(R.string.work_profile_app_subtext);