Remove logspam when scaling is less than 0.25
Bug: 17993084
Change-Id: I5ad17d9c0c7ad99ee5f847836d5439fe928b4edc
Signed-off-by: Andy Qiu <[email protected]>
diff --git a/ips/anniedale/AnnOverlayPlane.cpp b/ips/anniedale/AnnOverlayPlane.cpp
index 04785b6..8b63101 100755
--- a/ips/anniedale/AnnOverlayPlane.cpp
+++ b/ips/anniedale/AnnOverlayPlane.cpp
@@ -704,16 +704,12 @@
int crop = (mSrcCrop.w - 4 * mPosition.w)/2 + 1;
mSrcCrop.x += crop;
mSrcCrop.w -= 2 * crop;
- } else if (scaleX < 0.25) {
- WLOGTRACE("scaleX < 0.25!");
}
if (scaleY > 4.0) {
int crop = (mSrcCrop.h - 4 * mPosition.h)/2 + 1;
mSrcCrop.y += crop;
mSrcCrop.h -= 2 * crop;
- } else if (scaleY < 0.25) {
- WLOGTRACE("scaleY < 0.25!");
}
if (scaleX > 4.0 || scaleY > 4.0) {