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

Commit ae267d20 authored by Kenny Guy's avatar Kenny Guy Committed by Android (Google) Code Review
Browse files

Merge "Revert "Remove String version of getBadgedLabel"" into lmp-dev

parents bdad288c 9962f335
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -863,6 +863,15 @@ public class UserManager {
        return label;
    }

    /**
     * Kept during L development to simplify updating unbundled apps.
     * TODO: Remove after 2014-08-04
     * @hide
     */
    public String getBadgedLabelForUser(String label, UserHandle user) {
        return (String) getBadgedLabelForUser((CharSequence) label, user);
    }

    /**
     * If the target user is a managed profile of the calling user or the caller
     * is itself a managed profile, then this returns a drawable to use as a small