Merge "DO NOT MERGE Remove WTF spam" into pi-dev
am: 650ead619e
Change-Id: I6d4300530516c25a5eb9af8ea8f924591eff3b95
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user