Merge "Disable debug log in WindowContextController" into tm-dev am: 8e814271bb

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17395411

Change-Id: Iad5b8411596cd215cd13411959426b37b9e16549
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-04-07 06:11:08 +00:00
committed by Automerger Merge Worker

View File

@@ -41,14 +41,13 @@ import java.lang.annotation.Retention;
* @hide
*/
public class WindowContextController {
// TODO(220049234): Disable attach debug logging before shipping.
private static final boolean DEBUG_ATTACH = true;
private static final boolean DEBUG_ATTACH = false;
private static final String TAG = "WindowContextController";
/**
* {@link AttachStatus.STATUS_ATTACHED} to indicate that the {@code mToken} is associated with a
* {@link AttachStatus#STATUS_ATTACHED} to indicate that the {@code mToken} is associated with a
* {@link com.android.server.wm.DisplayArea}. Note that {@code mToken} is able to attach a
* WindowToken after this flag sets to {@link AttachStatus.STATUS_ATTACHED}.
* WindowToken after this flag sets to {@link AttachStatus#STATUS_ATTACHED}.
*/
@VisibleForTesting
public int mAttachedToDisplayArea = AttachStatus.STATUS_INITIALIZED;