From e13ce05e12f22ee02c7a1849046ed631361c321f Mon Sep 17 00:00:00 2001 From: Kean Mariotti Date: Mon, 12 Sep 2022 06:14:20 +0000 Subject: [PATCH] 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 --- .../java/com/android/server/wm/EmbeddedWindowController.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/core/java/com/android/server/wm/EmbeddedWindowController.java b/services/core/java/com/android/server/wm/EmbeddedWindowController.java index dcc16ebd88f5f..d54f77a73661e 100644 --- a/services/core/java/com/android/server/wm/EmbeddedWindowController.java +++ b/services/core/java/com/android/server/wm/EmbeddedWindowController.java @@ -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;