#  proguard-rules.txt
#

-dontobfuscate

# for multidex
-keep class org.voidsink.anewjkuapp.Globals

###############
# Mapsforge
-dontwarn org.xmlpull.v1.**
-dontwarn com.caverock.androidsvg.**
-dontwarn org.kxml2.io.KXmlParser
-dontwarn org.kxml2.io.KXmlSerializer

###############
# jsoup
-dontwarn javax.annotation.**

###############
-keepclasseswithmembernames class * {
public <init>(android.content.Context);
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

# Preserve static fields of inner classes of R classes that might be accessed
# through introspection.
-keepclassmembers class **.R$* {
public static <fields>;
}

# Preserve the special static methods that are required in all enumeration classes.
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}


-keepclassmembers !abstract class !com.google.ads.** extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...);
}

-keepclassmembers !abstract class * {
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers class * extends android.content.Context {
public void *(android.view.View);
}

# logging
-keep class org.slf4j.** { *; }
-keepattributes *Annotation*

-keep class com.alamkanak.weekview.** { *; }

# preferences
-keep class androidx.preference.** { *; }
-keep interface androidx.preference.** { *; }
-keep public class * extends androidx.preference.Preference { *; }
-keep public class * extends org.voidsink.anewjkuapp.base.BasePreferenceFragment { *; }

-keep class android.view.accessibility.AccessibilityManager { *; }