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

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

Merge "Correct the docs for getUserBadgedIcon" into mnc-dev

parents 7d3b8833 df77d717
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -3274,10 +3274,11 @@ public abstract class PackageManager {
            throws NameNotFoundException;

    /**
     * If the target user is a managed profile of the calling user or the caller
     * is itself a managed profile, then this returns a badged copy of the given
     * icon to be able to distinguish it from the original icon. For badging an
     * arbitrary drawable use {@link #getUserBadgedDrawableForDensity(
     * If the target user is a managed profile of the calling user or if the
     * target user is the caller and is itself a managed profile, then this
     * returns a badged copy of the given icon to be able to distinguish it from
     * the original icon. For badging an arbitrary drawable use
     * {@link #getUserBadgedDrawableForDensity(
     * android.graphics.drawable.Drawable, UserHandle, android.graphics.Rect, int)}.
     * <p>
     * If the original drawable is a BitmapDrawable and the backing bitmap is