Fix WM tracing

Fixes: 244260395
Test: capture Winscope dump as follows
    - Enter PiP, e.g. start maps navigation and exit the app
    - Press on the PiP window to make the PiP menu appear
    - Dump state WM in winscope

Change-Id: I0a996e92909be1a79147bc2f9b6a5a5615989488
This commit is contained in:
Kean Mariotti
2022-09-12 06:14:20 +00:00
parent 4ae06410c4
commit e13ce05e12

View File

@@ -19,17 +19,16 @@ package com.android.server.wm;
import static com.android.server.wm.IdentifierProto.HASH_CODE;
import static com.android.server.wm.IdentifierProto.TITLE;
import static com.android.server.wm.WindowContainerProto.IDENTIFIER;
import static com.android.server.wm.WindowManagerDebugConfig.TAG_WITH_CLASS_NAME;
import static com.android.server.wm.WindowManagerDebugConfig.TAG_WM;
import static com.android.server.wm.WindowStateProto.IDENTIFIER;
import android.annotation.Nullable;
import android.os.IBinder;
import android.os.RemoteException;
import android.os.UserHandle;
import android.util.ArrayMap;
import android.util.proto.ProtoOutputStream;
import android.util.Slog;
import android.util.proto.ProtoOutputStream;
import android.view.IWindow;
import android.view.InputApplicationHandle;
import android.view.InputChannel;