Fix icon rendering
This commit is contained in:
parent
8ebf3870c8
commit
2d8fe2ac7e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue