mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -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);
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user