changed method signature of calcSampleSize

This commit is contained in:
Daniel Gultsch 2015-11-30 16:03:04 +01:00
parent aeba964a65
commit 06cadab7cc
1 changed files with 1 additions and 1 deletions

View File

@ -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;