diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-11-30 16:03:04 +0100 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-12-04 09:09:19 +0100 |
commit | d3ce68ea30c97acaa5f4fb4961ad5fba586f6362 (patch) | |
tree | cb79ec0822e235bbf705d6e232dd214029eb3aca /src | |
parent | 75221f09600751033ffd600c8d187e4858c96d45 (diff) |
changed method signature of calcSampleSize
Diffstat (limited to 'src')
-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 349e18c70..35b836a7a 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; |