From b754f5281babccc4c1e70a4474e5eacefe07f77d Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Mon, 3 Aug 2020 22:17:08 -0700 Subject: Add some protologs for window organizers & shell - Refactor out base protolog impl so that shell can have it's own implementation which takes a different viewer config (from the resources directly instead of a separate file in /system/etc) - Setup the protolog transform for shell classes - Add some basic protologs for displayarea/task organizer controller & shell task org (for now only text logging) Bug: 161980327 Test: adb shell wm logging enable-text WM_DEBUG_WINDOW_ORGANIZER Test: adb shell dumpsys activity service SystemUIService WMShell enable-text-logging WM_SHELL_TASK_ORG Test: atest ProtoLogImplTest \ ProtoLogViewerConfigReaderTest \ WmTests:ProtoLogIntegrationTest \ LogDataTypeTest \ protologtool-tests Change-Id: I4c3fd6aaea04987c26ac56e9baf9fc8ab75a3f34 Signed-off-by: Winson Chung --- packages/SystemUI/Android.bp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/SystemUI/Android.bp') diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp index 2fbd9ba05817..0f2e25c7025b 100644 --- a/packages/SystemUI/Android.bp +++ b/packages/SystemUI/Android.bp @@ -174,6 +174,9 @@ android_app { kotlincflags: ["-Xjvm-default=enable"], dxflags: ["--multi-dex"], - required: ["privapp_whitelist_com.android.systemui"], + required: [ + "privapp_whitelist_com.android.systemui", + "checked-wm_shell_protolog.json", + ], } -- cgit v1.2.3-59-g8ed1b