From e7cd8fc41221ca4b4d646f4f57b6e7776052ae81 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Mon, 17 Oct 2022 16:56:59 +0000 Subject: [PATCH] Add InputWindowInfoProto to proto parsing The field is not registered as an IntDef but uses the same values as LayeoutParams according to code codumentation Test: npm run test:all && open a layers trace and check if inputWindowInfo has a value and if the flags are correctly formatted Change-Id: I868e1b3088cf9925c50faf0decce2da1f584288d --- tools/winscope-ng/src/common/trace/flickerlib/Configuration.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winscope-ng/src/common/trace/flickerlib/Configuration.json b/tools/winscope-ng/src/common/trace/flickerlib/Configuration.json index b0f7ae9d4..dfa07dea2 100644 --- a/tools/winscope-ng/src/common/trace/flickerlib/Configuration.json +++ b/tools/winscope-ng/src/common/trace/flickerlib/Configuration.json @@ -26,6 +26,7 @@ "WindowLayoutParams.subtreeSystemUiVisibilityFlags": "android.view.WindowManager.LayoutParams.SystemUiVisibilityFlags", "WindowLayoutParams.behavior": "android.view.WindowInsetsController.Behavior", "WindowLayoutParams.fitInsetsSides": "android.view.WindowInsets.Side.InsetsSide", + "InputWindowInfoProto.layoutParamsFlags": "android.view.WindowManager.LayoutParams.Flags", "Configuration.windowingMode": "android.app.WindowConfiguration.WindowingMode", "WindowConfiguration.windowingMode": "android.app.WindowConfiguration.WindowingMode", "Configuration.orientation": "android.content.pm.ActivityInfo.ScreenOrientation",