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

Commit 5e0bd5c9 authored by Todd Kennedy's avatar Todd Kennedy Committed by android-build-merger
Browse files

Always have an icon am: 58045ad4

am: 22d38111

* commit '22d38111':
  Always have an icon
parents 8f3d04a4 22d38111
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -212,11 +212,12 @@ public final class PermissionGroups implements LoaderCallbacks<List<PermissionGr
        }

        private Drawable loadItemInfoIcon(PackageItemInfo itemInfo) {
            final Drawable icon;
            Drawable icon = null;
            if (itemInfo.icon > 0) {
                icon = Utils.loadDrawable(getContext().getPackageManager(),
                        itemInfo.packageName, itemInfo.icon);
            } else {
            }
            if (icon == null) {
                icon = getContext().getDrawable(R.drawable.ic_perm_device_info);
            }
            return icon;