Merge pull request #5331 from mahdihijazi/fix_game_banners2

[Android] Fix game banners
This commit is contained in:
Markus Wick 2017-04-27 20:59:23 +02:00 committed by GitHub
commit f2035384e5
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ public class GameBannerRequestHandler extends RequestHandler {
int height = 32; int height = 32;
Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
bitmap.setPixels(vector, 0, width, 0, 0, width, height); bitmap.setPixels(vector, 0, width, 0, 0, width, height);
bitmap.copyPixelsFromBuffer(IntBuffer.wrap(vector));
return new Result(bitmap, Picasso.LoadedFrom.DISK); return new Result(bitmap, Picasso.LoadedFrom.DISK);
} }
} }