diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-13 21:10:36 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-13 21:10:36 +0200 |
commit | 084ab51b1d7625cdf1cca4cc6a31715acffe5ce7 (patch) | |
tree | bd1ab4b6d48aaafd4e410b50d7f5f3d7fd8e5f14 /src/eu/siacs/conversations/persistance | |
parent | 7dfe4ae0823238da216088f80de40b9ff6b1446d (diff) |
transmitting files between two conversations works. no error handling and no ui on the receiving end
Diffstat (limited to 'src/eu/siacs/conversations/persistance')
-rw-r--r-- | src/eu/siacs/conversations/persistance/FileBackend.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/persistance/FileBackend.java b/src/eu/siacs/conversations/persistance/FileBackend.java index 59373e74c..f7f986f2a 100644 --- a/src/eu/siacs/conversations/persistance/FileBackend.java +++ b/src/eu/siacs/conversations/persistance/FileBackend.java @@ -10,7 +10,6 @@ import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; -import android.util.Log; import android.util.LruCache; import eu.siacs.conversations.entities.Conversation; @@ -81,7 +80,7 @@ public class FileBackend { Bitmap scalledBitmap = resize(originalBitmap, IMAGE_SIZE); boolean success = scalledBitmap.compress(Bitmap.CompressFormat.WEBP,75,os); if (!success) { - Log.d("xmppService", "couldnt compress"); + //Log.d("xmppService", "couldnt compress"); } os.close(); return file; @@ -104,7 +103,6 @@ public class FileBackend { public Bitmap getThumbnailFromMessage(Message message, int size) { Bitmap thumbnail = thumbnailCache.get(message.getUuid()); if (thumbnail==null) { - Log.d("xmppService","creating new thumbnail" + message.getUuid()); Bitmap fullsize = BitmapFactory.decodeFile(getJingleFile(message) .getAbsolutePath()); thumbnail = resize(fullsize, size); |