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
This commit is contained in:
Jared Duke
2023-02-23 14:43:31 -08:00
parent 0effc8910c
commit 0668af2703

View File

@@ -449,6 +449,7 @@ systemui_optimized_java_defaults {
enabled: true,
optimize: true,
shrink: true,
shrink_resources: true,
proguard_compatibility: false,
proguard_flags_files: ["proguard.flags"],
},