Skip to content

Commit 5462508

Browse files
committed
Squelch the logs from SizeAdaptiveLayout.
Bug: 6540109 Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3
1 parent 0eaeb69 commit 5462508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/com/android/internal/widget/SizeAdaptiveLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private int clampSizeToBounds(int measuredHeight, View child) {
175175
height = Math.min(height, lp.maxHeight);
176176
}
177177

178-
if (heightIn != height) {
178+
if (DEBUG && heightIn != height) {
179179
Log.d(TAG, this + "child view " + child + " " +
180180
"measured out of bounds at " + heightIn +"px " +
181181
"clamped to " + height + "px");

0 commit comments

Comments
 (0)