diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-11-30 16:03:04 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-11-30 16:03:04 +0100 |
commit | 06cadab7ccd315c35f1325b4d95f0bf7a24082ea (patch) | |
tree | 9b5f5986ff9c6c41d451b36cceb7f547db4ca908 | |
parent | aeba964a65fce4ac77c908533d25295d44e9d2b5 (diff) |
changed method signature of calcSampleSize
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/persistance/FileBackend.java | 2 |
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; |