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

Commit 1490cab2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[pm] clarify the javadoc for getArchivedAppIcon" into main

parents 666c6eb4 b5f5546c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -936,13 +936,9 @@ public class PackageArchiver {
     * <p> In the rare case the app had multiple launcher activities, only one of the icons is
     * returned arbitrarily.
     *
     * <p> By default, the icon will be overlay'd with a cloud icon on top. A launcher app can
     * <p> By default, the icon will be overlay'd with a cloud icon on top. An app can
     * disable the cloud overlay via the
     * {@link LauncherApps.ArchiveCompatibilityParams#setEnableIconOverlay(boolean)} API.
     * The default launcher's cloud overlay mode determines the cloud overlay status returned by
     * any other callers. That is, if the current launcher has the cloud overlay disabled, any other
     * app that fetches the app icon will also get an icon that has the cloud overlay disabled.
     * This is to prevent style mismatch caused by icons that are fetched by different callers.
     */
    @Nullable
    public Bitmap getArchivedAppIcon(@NonNull String packageName, @NonNull UserHandle user,