Logging improvements / despam

This commit is contained in:
Henrik Rydgård committed 2025-05-21 21:42:08 +02:00
1 parent 9cf5d1bc25
commit a36d3cf18d
6 files changed
+18 -10

No files matched your search

@@ -100,7 +100,11 @@ public class SizeManager implements SurfaceHolder.Callback {
getDesiredBackbufferSize(desiredSize);
// Note that desiredSize might be 0,0 here - but that's fine when calling setFixedSize! It means auto.
Log.d(TAG, "Setting fixed size " + desiredSize.x + " x " + desiredSize.y);
if (desiredSize.x == 0) {
Log.d(TAG, "Setting auto surface size (not fixed)");
} else {
Log.d(TAG, "Setting fixed surface size " + desiredSize.x + " x " + desiredSize.y);
}
holder.setFixedSize(desiredSize.x, desiredSize.y);
}