diff --git a/packages/SystemUI/proguard.flags b/packages/SystemUI/proguard.flags index 5b9299c278a97..7538555e1bcdc 100644 --- a/packages/SystemUI/proguard.flags +++ b/packages/SystemUI/proguard.flags @@ -11,6 +11,11 @@ -keep class * extends com.android.systemui.CoreStartable -keep class * implements com.android.systemui.CoreStartable$Injector +# Needed for builds to properly initialize KeyFrames from xml scene +-keepclassmembers class * extends androidx.constraintlayout.motion.widget.Key { + public (); +} + -keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet); }