Revision: 2521
http://sourceforge.net/p/swingme/code/2521
Author: yuranet
Date: 2021-07-08 11:48:20 +0000 (Thu, 08 Jul 2021)
Log Message:
-----------
more info in logging
Modified Paths:
--------------
AndroidME/src_SwingME_plaf/net/yura/android/plaf/AndroidLookAndFeel.java
Modified: AndroidME/src_SwingME_plaf/net/yura/android/plaf/AndroidLookAndFeel.java
===================================================================
--- AndroidME/src_SwingME_plaf/net/yura/android/plaf/AndroidLookAndFeel.java 2021-07-08 11:45:28 UTC (rev 2520)
+++ AndroidME/src_SwingME_plaf/net/yura/android/plaf/AndroidLookAndFeel.java 2021-07-08 11:48:20 UTC (rev 2521)
@@ -55,7 +55,7 @@
int systemDensity = Image.getTargetDensity();
int bitmapDensity = bmp.getDensity();
if (bitmapDensity == Bitmap.DENSITY_NONE) {
- System.err.println("WARN no density for image " + path);
+ System.err.println("WARN no density for image " + path + " (" + bmp.getWidth() + "x" + bmp.getHeight() + ")");
bitmapDensity = DisplayMetrics.DENSITY_DEFAULT; // default to make numbers smaller, as less likely to cause a crash
}
double scale = (double) bitmapDensity / (double) systemDensity;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|