Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Andy ;-)
Browse files Browse the repository at this point in the history
Refs #2095
  • Loading branch information
M66B committed Dec 24, 2014
1 parent b182527 commit 326cbcf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -1988,8 +1988,11 @@ else if (state == ApplicationInfoEx.STATE_SHARED)
getThemed(R.attr.color_state_restricted)));

// Display icon
holder.imgIcon.setImageBitmap(xAppInfo.getIconBitmap(ActivityMain.this));
// holder.imgIcon.setImageDrawable(xAppInfo.getIcon(ActivityMain.this));
Bitmap bm = xAppInfo.getIconBitmap(ActivityMain.this);
if (bm == null)
holder.imgIcon.setImageDrawable(xAppInfo.getIcon(ActivityMain.this));
else
holder.imgIcon.setImageBitmap(bm);
holder.imgIcon.setVisibility(View.VISIBLE);

// Display on demand
Expand Down

0 comments on commit 326cbcf

Please sign in to comment.