Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6ed1956 authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Remove confusing logging about surface size.

Change-Id: I377cb6dd25c5db9939a6b7f87fef634426d6c2b4
parent 3510bd9b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -705,14 +705,12 @@ class WindowStateAnimator {
        }

        // Something is wrong and SurfaceFlinger will not like this, try to revert to sane values.
        // This doesn't necessarily mean that there is an error in the system. The sizes might be
        // incorrect, because it is before the first layout or draw.
        if (mTmpSize.width() < 1) {
            if (!mWin.mLayoutNeeded) Slog.w(TAG,
                    "Width of " + w + " is not positive " + mTmpSize.width());
            mTmpSize.right = mTmpSize.left + 1;
        }
        if (mTmpSize.height() < 1) {
            if (!mWin.mLayoutNeeded) Slog.w(TAG,
                    "Height of " + w + " is not positive " + mTmpSize.height());
            mTmpSize.bottom = mTmpSize.top + 1;
        }