aboutsummaryrefslogtreecommitdiff
path: root/app/proguard-rules.pro
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-06-05 03:10:15 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-06-05 03:10:15 +0000
commit64ef6656cf248c2e5c72f3aafe6d9c0158d2277b (patch)
treeb2ede97806826ac3150bfa71ae42ec38ce511789 /app/proguard-rules.pro
parent43f389f12fe5159d428769a7520e3340f8df5eaa (diff)
downloadinfinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.tar
infinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.tar.gz
infinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.tar.bz2
infinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.tar.lz
infinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.tar.xz
infinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.tar.zst
infinity-for-reddit-64ef6656cf248c2e5c72f3aafe6d9c0158d2277b.zip
Fix proguard rules.
Diffstat (limited to 'app/proguard-rules.pro')
-rw-r--r--app/proguard-rules.pro11
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)