From 4da65e47e4cf219160efb338eb5fab4d433cbae1 Mon Sep 17 00:00:00 2001 From: Jordan Silva Date: Thu, 27 Mar 2025 10:11:05 -0700 Subject: [PATCH] Revert "Add logs for debugging to overview blur" This reverts commit af8300382692a819d6195c8984bb895420f1fb7d. Reason for revert: b/406789714 Change-Id: Ib19011cdff3406bb7cf02c0ecbcef81ae0fa6036 --- .../com/android/quickstep/util/BaseDepthController.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/quickstep/src/com/android/quickstep/util/BaseDepthController.java b/quickstep/src/com/android/quickstep/util/BaseDepthController.java index 45d4bfc73d..01b473f70a 100644 --- a/quickstep/src/com/android/quickstep/util/BaseDepthController.java +++ b/quickstep/src/com/android/quickstep/util/BaseDepthController.java @@ -237,7 +237,6 @@ public class BaseDepthController { public void setBaseSurfaceOverride(@Nullable SurfaceControl baseSurfaceOverride) { this.mBaseSurfaceOverride = baseSurfaceOverride; SurfaceControl.Transaction transaction = createTransaction(); - Log.d(TAG, "setBaseSurfaceOverride: applying blur behind leash " + baseSurfaceOverride); updateBlurSurfaceOrder(transaction); applyDepthAndBlur(transaction); } @@ -258,14 +257,11 @@ public class BaseDepthController { .setName("Overview Blur") .setHidden(false) .build(); - Log.d(TAG, - "setBaseSurface: creating Overview Blur surface " + mBlurSurface); } updateBlurSurfaceParent(transaction); updateBlurSurfaceOrder(transaction); } else { if (mBlurSurface != null) { - Log.d(TAG, "setBaseSurface: removing base surface " + mBlurSurface); transaction.remove(mBlurSurface); mBlurSurface = null; } @@ -279,10 +275,8 @@ public class BaseDepthController { private void updateBlurSurfaceOrder(SurfaceControl.Transaction transaction) { SurfaceControl baseSurface = null; if (mBaseSurfaceOverride != null && mBaseSurfaceOverride.isValid()) { - Log.d(TAG, "updateBlurSurfaceOrder: relayering to leash " + mBaseSurfaceOverride); baseSurface = mBaseSurfaceOverride; } else if (mBaseSurface != null && mBaseSurface.isValid()) { - Log.d(TAG, "updateBlurSurfaceOrder: relayering to base " + mBaseSurface); baseSurface = mBaseSurface; } if (baseSurface != null && mBlurSurface != null) { @@ -294,8 +288,6 @@ public class BaseDepthController { private void updateBlurSurfaceParent(SurfaceControl.Transaction transaction) { if (mBlurSurface != null) { // Reparent to launcher for full screen blur. - Log.d(TAG, - "updateBlurSurfaceParent: reparenting " + mBlurSurface + " to " + mBaseSurface); transaction.reparent(mBlurSurface, mBaseSurface); } }