aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-11-30 16:03:04 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-11-30 16:03:04 +0100
commit06cadab7ccd315c35f1325b4d95f0bf7a24082ea (patch)
tree9b5f5986ff9c6c41d451b36cceb7f547db4ca908 /src/main/java/eu/siacs
parentaeba964a65fce4ac77c908533d25295d44e9d2b5 (diff)
changed method signature of calcSampleSize
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/persistance/FileBackend.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/persistance/FileBackend.java b/src/main/java/eu/siacs/conversations/persistance/FileBackend.java
index 349e18c7..35b836a7 100644
--- a/src/main/java/eu/siacs/conversations/persistance/FileBackend.java
+++ b/src/main/java/eu/siacs/conversations/persistance/FileBackend.java
@@ -493,7 +493,7 @@ public class FileBackend {
return calcSampleSize(options, size);
}
- private int calcSampleSize(BitmapFactory.Options options, int size) {
+ public static int calcSampleSize(BitmapFactory.Options options, int size) {
int height = options.outHeight;
int width = options.outWidth;
int inSampleSize = 1;