diff --git a/proguard.flags b/proguard.flags index 298058d3b34..82e8e58d92b 100644 --- a/proguard.flags +++ b/proguard.flags @@ -56,3 +56,8 @@ public static ** SUMMARY_PROVIDER_FACTORY; } -keep class androidx.core.app.CoreComponentFactory + +# Keep classes that implements CustomSliceable, which are used by reflection. +-keepclasseswithmembers class * implements com.android.settings.slices.CustomSliceable { + public (android.content.Context); +} \ No newline at end of file