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

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

Always have an icon am: 58045ad4 am: 22d38111

am: 5e0bd5c9

* commit '5e0bd5c9':
  Always have an icon
parents 626a9cda 5e0bd5c9
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;