Merge "Disable debug log in WindowContextController" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-07 06:04:52 +00:00
committed by Android (Google) Code Review

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;