From 9c10ab03cd6a35fca9eec617b9bd444d13544b99 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 22 Feb 2012 14:34:58 -0800 Subject: [PATCH] Reduce logs Change-Id: I2768972ec62f4d3ad800a4d7a4c44307a2fa0105 --- core/java/android/widget/TableLayout.java | 3 +-- libs/hwui/Debug.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/java/android/widget/TableLayout.java b/core/java/android/widget/TableLayout.java index f5d374656d891..b870ceeac4dee 100644 --- a/core/java/android/widget/TableLayout.java +++ b/core/java/android/widget/TableLayout.java @@ -735,8 +735,7 @@ public class TableLayout extends LinearLayout { * @param heightAttr the height attribute to fetch */ @Override - protected void setBaseAttributes(TypedArray a, - int widthAttr, int heightAttr) { + protected void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr) { this.width = MATCH_PARENT; if (a.hasValue(heightAttr)) { this.height = a.getLayoutDimension(heightAttr, "layout_height"); diff --git a/libs/hwui/Debug.h b/libs/hwui/Debug.h index 16a3d73a121fa..55a860ebc69b4 100644 --- a/libs/hwui/Debug.h +++ b/libs/hwui/Debug.h @@ -30,7 +30,7 @@ #define DEBUG_MEMORY_USAGE 0 // Turn on to enable debugging of cache flushes -#define DEBUG_CACHE_FLUSH 1 +#define DEBUG_CACHE_FLUSH 0 // Turn on to enable layers debugging when rendered as regions #define DEBUG_LAYERS_AS_REGIONS 0