mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-25 09:21:14 +00:00
Disabled app icon caching
This commit is contained in:
parent
e10c07d2fa
commit
d1df09ff51
2 changed files with 4 additions and 4 deletions
|
@ -223,8 +223,8 @@ public class AdapterLog extends CursorAdapter {
|
|||
Uri uri = Uri.parse("android.resource://" + info.packageName + "/" + info.icon);
|
||||
GlideApp.with(context)
|
||||
.load(uri)
|
||||
.diskCacheStrategy(DiskCacheStrategy.NONE)
|
||||
.skipMemoryCache(true)
|
||||
//.diskCacheStrategy(DiskCacheStrategy.NONE)
|
||||
//.skipMemoryCache(true)
|
||||
.override(iconSize, iconSize)
|
||||
.into(ivIcon);
|
||||
}
|
||||
|
|
|
@ -341,8 +341,8 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> im
|
|||
GlideApp.with(holder.itemView.getContext())
|
||||
.applyDefaultRequestOptions(new RequestOptions().format(DecodeFormat.PREFER_RGB_565))
|
||||
.load(uri)
|
||||
.diskCacheStrategy(DiskCacheStrategy.NONE)
|
||||
.skipMemoryCache(true)
|
||||
//.diskCacheStrategy(DiskCacheStrategy.NONE)
|
||||
//.skipMemoryCache(true)
|
||||
.override(iconSize, iconSize)
|
||||
.into(holder.ivIcon);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue