aboutsummaryrefslogblamecommitdiff
path: root/app/proguard-rules.pro
blob: d942737cea195cf86e6def97cc55450c22e0e876 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                  

                                                                                    









                                                                                      
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

## Preferences reflection
-keep class * extends androidx.preference.PreferenceFragmentCompat

-keep class ml.docilealligator.infinityforreddit.Settings.FontPreviewFragment { *; }

## EventBus Rules
-keepattributes *Annotation*
-keepclassmembers class * {
    @org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
# And if you use AsyncExecutor:
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
    <init>(java.lang.Throwable);
}