diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index fc2a2d03942656a989ddd6c1bd36ca12f3de721b..acc2ca300ae87548621341ec98689f90c685ae62 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -756,6 +756,7 @@ import java.util.concurrent.atomic.AtomicInteger; public class View implements Drawable.Callback, KeyEvent.Callback, AccessibilityEventSource { private static final boolean DBG = false; + private static final boolean VIEW_DBG = false; /** * The logging tag used by this class with android.util.Log. @@ -19851,13 +19852,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback, */ public final void measure(int widthMeasureSpec, int heightMeasureSpec) { /* *********************** -App View WhiteList- *********************** */ - /* - Log.d("zhdw", "view=" + this.getClass().getName() + " (" + MeasureSpec.toString(widthMeasureSpec) + "," + - MeasureSpec.toString(heightMeasureSpec) + ")"); - if (this.mParent != null) { - Log.d("zhdw", " --mParent=" + this.mParent.getClass().getName()); + if (VIEW_DBG) { + Log.d(VIEW_LOG_TAG, "view=" + this.getClass().getName() + " (" + MeasureSpec.toString(widthMeasureSpec) + + "," + MeasureSpec.toString(heightMeasureSpec) + ")"); + if (this.mParent != null) { + Log.d(VIEW_LOG_TAG, " --mParent=" + this.mParent.getClass().getName()); + } } - */ final int widthSize = MeasureSpec.getSize(widthMeasureSpec); final int heightSize = MeasureSpec.getSize(heightMeasureSpec);