Skip to content

Commit

Permalink
Always reload icons after package events
Browse files Browse the repository at this point in the history
Because updates may very well change drawables too.
  • Loading branch information
markusfisch committed Mar 1, 2020
1 parent 3d75f42 commit 204ec3c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ private synchronized void indexApps(Context context,
info.loadIcon(pm));
}
}
if (packageNameRestriction == null) {
createIcons(context);
}
// always reload icons after updates to `apps` because drawables
// may have changed
createIcons(context);
}

private void addApp(ComponentName componentName, String label,
Expand Down

0 comments on commit 204ec3c

Please sign in to comment.