mirror of
https://github.com/M66B/NetGuard.git
synced 2025-03-15 08:29:02 +00:00
Fixed crash
This commit is contained in:
parent
c51d3c361d
commit
54578ea0f9
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ public class AdapterLog extends CursorAdapter {
|
|||
info = pm.getApplicationInfo(pkg[0], 0);
|
||||
} catch (PackageManager.NameNotFoundException ignored) {
|
||||
}
|
||||
if (info == null && uid != 0)
|
||||
if (info == null)
|
||||
ivIcon.setImageDrawable(null);
|
||||
else if (info.icon == 0)
|
||||
Picasso.with(context).load(android.R.drawable.sym_def_app_icon).into(ivIcon);
|
||||
|
|
Loading…
Add table
Reference in a new issue