Ensure WMShell protolog viewer config is available on device when required
Currently, this file is only added to Google SysUI app, which means that we can't use ProtoLog in aosp builds which is causing issues.
The require rule only applies to installed modules and is not propagated on static dependencies.
Bug: 371524079
Flag: EXEMPT updating build rules
Test: m droid with aosp target, flash and check `/system_ext/etc/wmshell.protolog.pb` is on the device
Change-Id: Id1fbd5cf9716af45f8872a35e98d6cbb4f5f8f50
diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp
index bd7067b..1f10ead 100644
--- a/packages/SystemUI/Android.bp
+++ b/packages/SystemUI/Android.bp
@@ -1022,6 +1022,7 @@
defaults: [
"platform_app_defaults",
"SystemUI_optimized_defaults",
+ "wmshell_defaults",
],
static_libs: [
"SystemUI-core",