# We use the general android proguard config. See project.properties for details.

# Suppress notes about classes from the general config, which we don't use at all. 
-dontnote **.ILicensingService

-optimizationpasses 2
-dontobfuscate
-allowaccessmodification
-optimizations !code/simplification/arithmetic,!code/allocation/variable

# apache.commons.collections has some bean related collections, which are undefined in Android
-dontwarn java.beans.*

#-dontnote org.apache.commons.logging.**

-keep public class cgeo.geocaching.*
-dontwarn cgeo.geocaching.utils.Log

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

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

-keep public class * 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*(...);
}