summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sherry Zhou <yuandizhou@google.com> 2025-01-14 17:27:42 +0000
committer Sherry Zhou <yuandizhou@google.com> 2025-01-15 11:45:11 -0800
commit442e3561782279dd52f8a2e86944ab234d31629c (patch)
tree9ef0f44828577c7c3bdda4f0644308365b276f43
parent8d03ce89967d7b1c13ed43b35a5d38b905346118 (diff)
Update proguard to keep resources in R
Bug: 382346044 Test: manual test userdebug build. With this change, weather clock can show correctly; without this change, weather clock will fall back to default clock. Flag: NONE bugfix Change-Id: Ie220e2c57123844f78f079b1dc5f85068376529a
-rw-r--r--packages/SystemUI/proguard_common.flags5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/proguard_common.flags b/packages/SystemUI/proguard_common.flags
index 02b2bcf8e40d..e152c98a93e5 100644
--- a/packages/SystemUI/proguard_common.flags
+++ b/packages/SystemUI/proguard_common.flags
@@ -58,3 +58,8 @@
static *** v(...);
}
-maximumremovedandroidloglevel 2
+
+#Keep the R
+-keepclassmembers class com.android.systemui.customization.R$* {
+ public static <fields>;
+}