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

Commit 650ead61 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Remove WTF spam" into pi-dev

parents 7775af27 511ac801
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1641,7 +1641,6 @@ public final class ViewRootImpl implements ViewParent,

    private Rect ensureInsetsNonNegative(Rect insets, String kind) {
        if (insets.left < 0  || insets.top < 0  || insets.right < 0  || insets.bottom < 0) {
            Log.wtf(mTag, "Negative " + kind + "Insets: " + insets + ", mFirst=" + mFirst);
            return new Rect(Math.max(0, insets.left),
                    Math.max(0, insets.top),
                    Math.max(0, insets.right),