Set AntiAlias for BitmapDrawable to false

this is an attempt to fix #94 - documentation states that this value should be false by default - but maybe not on this particular device ..
This commit is contained in:
ligi 2016-07-27 11:17:27 +02:00
parent 3b45db5f41
commit 1881618024

View file

@ -23,6 +23,7 @@ public class BarcodeHelper {
final BitmapDrawable bitmapDrawable = new BitmapDrawable(resources, bitmap);
bitmapDrawable.setFilterBitmap(false);
bitmapDrawable.setAntiAlias(false);
return bitmapDrawable;
}