2012-10-10 14:28:18 -04:00
|
|
|
-target 1.6
|
|
|
|
-dontusemixedcaseclassnames
|
|
|
|
-dontskipnonpubliclibraryclasses
|
|
|
|
-dontpreverify
|
|
|
|
-repackageclasses ''
|
|
|
|
-allowaccessmodification
|
|
|
|
-optimizations !code/simplification/arithmetic
|
|
|
|
-keepattributes *Annotation*
|
|
|
|
|
|
|
|
-keep public class * extends android.app.Activity
|
|
|
|
-keep public class * extends android.app.Application
|
|
|
|
-keep public class * extends android.app.Service
|
|
|
|
-keep public class * extends android.content.BroadcastReceiver
|
|
|
|
-keep public class * extends android.content.ContentProvider
|
|
|
|
|
|
|
|
-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*(...);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
public <init>(android.content.Context, android.util.AttributeSet);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
public <init>(android.content.Context, android.util.AttributeSet, int);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclassmembers class * extends android.content.Context {
|
|
|
|
public void *(android.view.View);
|
|
|
|
public void *(android.view.MenuItem);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
|
|
static android.os.Parcelable$Creator CREATOR;
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclassmembers class **.R$* {
|
|
|
|
public static <fields>;
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclassmembers enum * {
|
|
|
|
public static **[] values();
|
|
|
|
public static ** valueOf(java.lang.String);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keep @org.simpleframework.xml.Root public class * {
|
2013-06-14 16:31:49 -04:00
|
|
|
*;
|
2012-10-10 14:28:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
-dontwarn javax.xml.stream.**
|
|
|
|
-dontwarn com.bea.xml.stream.**
|
|
|
|
-dontwarn sun.misc.Unsafe
|
|
|
|
-dontwarn android.annotation.TargetApi
|
|
|
|
-dontwarn org.solovyev.common.math.visualisation.**
|
|
|
|
-dontwarn org.solovyev.common.math.graph.**
|
|
|
|
-dontwarn org.solovyev.common.math.algorithms.**
|
|
|
|
-dontwarn org.solovyev.common.drawing.**
|
|
|
|
-dontwarn org.joda.**
|
|
|
|
-dontwarn jscl.mathml.**
|
|
|
|
-dontwarn com.google.common.collect.MinMaxPriorityQueue
|
2013-09-20 14:16:01 -04:00
|
|
|
-dontwarn com.google.ads.**
|
2015-01-21 08:44:05 -05:00
|
|
|
-dontwarn com.sun.org.apache.xerces.internal.impl.dv.util.Base64
|
|
|
|
-dontwarn com.actionbarsherlock.BuildConfig
|
2015-01-27 17:23:59 -05:00
|
|
|
-dontwarn com.google.android.gms.internal.*
|
2012-10-10 14:28:18 -04:00
|
|
|
|
|
|
|
-keep class org.simpleframework.xml.** { *; }
|
2012-11-18 08:59:39 -05:00
|
|
|
-keep class * implements org.solovyev.android.calculator.model.MathPersistenceEntity
|
|
|
|
-keep class * implements org.solovyev.android.calculator.MathEntityPersistenceContainer
|
|
|
|
|
2015-01-27 17:23:59 -05:00
|
|
|
-keep class android.support.v4.app.** { *; }
|
|
|
|
-keep interface android.support.v4.app.** { *; }
|
|
|
|
-keep class android.support.v7.** { *; }
|
|
|
|
-keep interface android.support.v7.** { *; }
|
|
|
|
|
2012-11-18 08:59:39 -05:00
|
|
|
#
|
|
|
|
#*********************************************************************
|
|
|
|
#
|
|
|
|
# LOGS
|
|
|
|
#
|
|
|
|
#*********************************************************************
|
|
|
|
#
|
|
|
|
|
|
|
|
-assumenosideeffects class android.util.Log {
|
|
|
|
public static int v(...);
|
|
|
|
public static int d(...);
|
|
|
|
public static int i(...);
|
|
|
|
public static int w(...);
|
|
|
|
public static int e(...);
|
|
|
|
}
|
2012-10-10 14:28:18 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
#*********************************************************************
|
|
|
|
#
|
|
|
|
# ACRA
|
|
|
|
#
|
|
|
|
#*********************************************************************
|
|
|
|
#
|
|
|
|
|
|
|
|
# keep this class so that logging will show 'ACRA' and not a obfuscated name like 'a'.
|
|
|
|
# Note: if you are removing log messages elsewhere in this file then this isn't necessary
|
|
|
|
-keep class org.acra.ACRA {
|
2015-02-01 14:57:09 -05:00
|
|
|
*;
|
2012-10-10 14:28:18 -04:00
|
|
|
}
|
|
|
|
|
2015-02-01 14:57:09 -05:00
|
|
|
# keep this around for some enums that ACRA needs
|
|
|
|
-keep class org.acra.ReportingInteractionMode {
|
|
|
|
*;
|
2012-12-05 03:37:30 -05:00
|
|
|
}
|
|
|
|
|
2015-02-01 14:57:09 -05:00
|
|
|
-keepnames class org.acra.sender.HttpSender$** {
|
|
|
|
*;
|
|
|
|
}
|
2012-12-05 03:37:30 -05:00
|
|
|
|
2015-02-01 14:57:09 -05:00
|
|
|
-keepnames class org.acra.ReportField {
|
|
|
|
*;
|
2012-10-10 14:28:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
# keep this otherwise it is removed by ProGuard
|
|
|
|
-keep public class org.acra.ErrorReporter
|
|
|
|
{
|
2015-02-01 14:57:09 -05:00
|
|
|
public void addCustomData(java.lang.String,java.lang.String);
|
|
|
|
public void putCustomData(java.lang.String,java.lang.String);
|
|
|
|
public void removeCustomData(java.lang.String);
|
2012-10-10 14:28:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
# keep this otherwise it is removed by ProGuard
|
|
|
|
-keep public class org.acra.ErrorReporter
|
|
|
|
{
|
2015-02-01 14:57:09 -05:00
|
|
|
public void handleSilentException(java.lang.Throwable);
|
|
|
|
}
|