OSDN Git Service

Disabled debug logs
authorWale Ogunwale <ogunwale@google.com>
Mon, 7 Mar 2016 15:33:56 +0000 (07:33 -0800)
committerWale Ogunwale <ogunwale@google.com>
Mon, 7 Mar 2016 15:33:56 +0000 (07:33 -0800)
Disabled log points that were enabled for b/27286867

Bug: 27286867
Change-Id: I1a5fe82dfc3e85adef12be8b52277be6131f5d73

core/java/android/view/ViewRootImpl.java
services/core/java/com/android/server/wm/WindowManagerDebugConfig.java

index afe2f10..f7405e2 100644 (file)
@@ -1078,8 +1078,7 @@ public final class ViewRootImpl implements ViewParent,
                 scheduleTraversals();
             } else {
                 if (mAttachInfo.mHardwareRenderer != null) {
-                    // TODO: Temporary to help track down b/27286867
-                    Log.d(mTag, "WindowStopped on " + getTitle());
+                    if (DEBUG_DRAW) Log.d(mTag, "WindowStopped on " + getTitle());
                     mAttachInfo.mHardwareRenderer.updateSurface(null);
                     mAttachInfo.mHardwareRenderer.destroyHardwareResources(mView);
                 }
index ccba88d..0979cd3 100644 (file)
@@ -35,7 +35,7 @@ public class WindowManagerDebugConfig {
 
     static final boolean DEBUG_RESIZE = false;
     static final boolean DEBUG = false;
-    static final boolean DEBUG_ADD_REMOVE = true;
+    static final boolean DEBUG_ADD_REMOVE = false;
     static final boolean DEBUG_FOCUS = false;
     static final boolean DEBUG_FOCUS_LIGHT = DEBUG_FOCUS || false;
     static final boolean DEBUG_ANIM = false;