Fix icon rendering

This commit is contained in:
Victor Shcherb 2013-07-07 16:44:49 +02:00
parent 8ebf3870c8
commit 2d8fe2ac7e

View file

@ -62,7 +62,7 @@ public class RenderingIcons {
log.info("Icon data length is " + bitmapData.length); //$NON-NLS-1$ log.info("Icon data length is " + bitmapData.length); //$NON-NLS-1$
Bitmap dm = android.graphics.BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length) ; Bitmap dm = android.graphics.BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length) ;
if(dm != null){ if(dm != null){
System.out.println("IC " + dm.getHeight() + " " + dm.getWidth()); System.out.println("IC " + s +" " + dm.getHeight() + "x" + dm.getWidth());
} }
//if(android.graphics.BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length) == null) //if(android.graphics.BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length) == null)
// throw new Exception(); // throw new Exception();