removed unnecessary logging

This commit is contained in:
Daniel Gultsch 2016-04-30 13:34:20 +02:00
parent 936006173c
commit 98ecac0ffa

View file

@ -348,7 +348,6 @@ public class FileBackend {
public Bitmap getThumbnail(Message message, int size, boolean cacheOnly) throws FileNotFoundException { public Bitmap getThumbnail(Message message, int size, boolean cacheOnly) throws FileNotFoundException {
final String uuid = message.getUuid(); final String uuid = message.getUuid();
final LruCache<String,Bitmap> cache = mXmppConnectionService.getBitmapCache(); final LruCache<String,Bitmap> cache = mXmppConnectionService.getBitmapCache();
Log.d(Config.LOGTAG,"get thumbnail for "+uuid+" cacheOnly="+Boolean.toString(cacheOnly));
Bitmap thumbnail = cache.get(uuid); Bitmap thumbnail = cache.get(uuid);
if ((thumbnail == null) && (!cacheOnly)) { if ((thumbnail == null) && (!cacheOnly)) {
synchronized (cache) { synchronized (cache) {