diff options
Diffstat (limited to 'app/proguard-rules.pro')
-rw-r--r-- | app/proguard-rules.pro | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 3172179f..7ca0b512 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -9,8 +9,7 @@ ## Preferences reflection -keep class * extends androidx.preference.PreferenceFragmentCompat --keep class ml.docilealligator.infinityforreddit.settings.FontPreviewFragment { *; } --keep class ml.docilealligator.infinityforreddit.settings.CrashReportsFragment { *; } +-keep public class ml.docilealligator.infinityforreddit.settings.** ## EventBus Rules -keepattributes *Annotation* @@ -66,6 +65,14 @@ -keep class ml.docilealligator.infinityforreddit.customtheme.CustomTheme { <fields>; } -keep class ml.docilealligator.infinityforreddit.multireddit.MultiRedditJSONModel { <fields>; } -keep class ml.docilealligator.infinityforreddit.multireddit.SubredditInMultiReddit { <fields>; } +-keep class ml.docilealligator.infinityforreddit.subscribedsubreddit.SubscribedSubredditData { <fields>; } +-keep class ml.docilealligator.infinityforreddit.subscribeduser.SubscribedUserData { <fields>; } +-keep class ml.docilealligator.infinityforreddit.multireddit.MultiReddit { <fields>; } +-keep class ml.docilealligator.infinityforreddit.multireddit.AnonymousMultiredditSubreddit { <fields>; } +-keep class ml.docilealligator.infinityforreddit.postfilter.PostFilter { <fields>; } +-keep class ml.docilealligator.infinityforreddit.postfilter.PostFilterUsage { <fields>; } +-keep class ml.docilealligator.infinityforreddit.commentfilter.CommentFilter { <fields>; } +-keep class ml.docilealligator.infinityforreddit.commentfilter.CommentFilterUsage { <fields>; } # Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory, # JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter) |