Enable resource shrinking for SystemUI
This is already in use with several SystemUI derivatives and provides
demonstrable size improvements. Enable use when SystemUI optimizations
are enabled, in anticipation of using the base SystemUI java_defaults
for downstream variants for consistency.
Bug: 202959019
Test: m + presubmit
Change-Id: I20d25d3d8cd73fa082b43b8666f332a58ba32cdb
diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp
index 9d46961..b236ac5 100644
--- a/packages/SystemUI/Android.bp
+++ b/packages/SystemUI/Android.bp
@@ -449,6 +449,7 @@
enabled: true,
optimize: true,
shrink: true,
+ shrink_resources: true,
proguard_compatibility: false,
proguard_flags_files: ["proguard.flags"],
},