Merge pull request #5331 from mahdihijazi/fix_game_banners2
[Android] Fix game banners
This commit is contained in:
commit
f2035384e5
|
@ -25,7 +25,6 @@ public class GameBannerRequestHandler extends RequestHandler {
|
|||
int height = 32;
|
||||
Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
||||
bitmap.setPixels(vector, 0, width, 0, 0, width, height);
|
||||
bitmap.copyPixelsFromBuffer(IntBuffer.wrap(vector));
|
||||
return new Result(bitmap, Picasso.LoadedFrom.DISK);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue