diff options
| author | 2025-01-08 01:50:43 -0800 | |
|---|---|---|
| committer | 2025-01-08 01:50:43 -0800 | |
| commit | 3ffa87b09d44df29b97523ab874850c23e81beed (patch) | |
| tree | bf306a7848412342e45e2c0b2d6a37b389695a8f | |
| parent | 8ae06af222ee23bbf92d9e8ff21cd0a2a6ce19a5 (diff) | |
| parent | 64143c8db782d826da37f02fe3fe44d6bb621007 (diff) | |
Merge "SystemUI: Add keep rule for VendorServices constructor" into main
| -rw-r--r-- | packages/SystemUI/proguard_common.flags | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/SystemUI/proguard_common.flags b/packages/SystemUI/proguard_common.flags index 162d8aebfc62..02b2bcf8e40d 100644 --- a/packages/SystemUI/proguard_common.flags +++ b/packages/SystemUI/proguard_common.flags @@ -1,5 +1,11 @@ -include proguard_kotlin.flags --keep class com.android.systemui.VendorServices + +# VendorServices implements CoreStartable and may be instantiated reflectively in +# SystemUIApplication#startAdditionalStartable. +# TODO(b/373579455): Rewrite this to a @UsesReflection keep annotation. +-keep class com.android.systemui.VendorServices { + public void <init>(); +} # Needed to ensure callback field references are kept in their respective # owning classes when the downstream callback registrars only store weak refs. |