fix createScaledBitmap reference
This commit is contained in:
parent
d821a7cc91
commit
9db3a88b1a
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ public class GalleryModule extends ReactContextBaseJavaModule {
|
|||
try {
|
||||
Bitmap source = BitmapFactory.decodeFile(filePath);
|
||||
// MINI_KIND dimensions
|
||||
Bitmap thumbnail = BitmapFactory.createScaledBitmap(source, 512, 384, false);
|
||||
Bitmap thumbnail = Bitmap.createScaledBitmap(source, 512, 384, false);
|
||||
|
||||
if (context != null) {
|
||||
File cacheDir = context.getExternalCacheDir();
|
||||
|
|
Loading…
Add table
Reference in a new issue