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

Commit 501152f9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Avoid unnecessary badging" into qt-dev

parents 9829cf54 e34a75df
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2764,6 +2764,9 @@ public class ApplicationPackageManager extends PackageManager {
        if (itemInfo.packageName != null) {
            dr = getDrawable(itemInfo.packageName, itemInfo.icon, appInfo);
        }
        if (dr == null && itemInfo != appInfo) {
            dr = loadUnbadgedItemIcon(appInfo, appInfo);
        }
        if (dr == null) {
            dr = itemInfo.loadDefaultIcon(this);
        }