mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
changed method signature of calcSampleSize
This commit is contained in:
parent
aeba964a65
commit
06cadab7cc
@ -493,7 +493,7 @@ public class FileBackend {
|
|||||||
return calcSampleSize(options, size);
|
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 height = options.outHeight;
|
||||||
int width = options.outWidth;
|
int width = options.outWidth;
|
||||||
int inSampleSize = 1;
|
int inSampleSize = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user