blob: 0fa387a1dbf65490dfc63cc57826395b893a4047 [file] [log] [blame]
# This is a configuration file for ProGuard based on "proguard-android.txt".
# Optimization is turned off by default. Dex does not like code run
# through the ProGuard optimize and preverify steps (and performs some
# of these optimizations on its own).
-keepattributes *Annotation*
-keep public class
-keep public class
# For native methods, see
-keepclasseswithmembernames class * {
native <methods>;
# Keep setters in Views so that animations can still work.
# see
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
# Keep methods in Activity that could be used in the XML attribute onClick.
-keepclassmembers class * extends {
public void *(android.view.View);
# For enumeration classes, see
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
-keepclassmembers class **.R$* {
public static <fields>;
# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
# Some small BoundedRational methods like equals() are not used by the
# calculator, but crucial for testing.
-keepclassmembers class { *; }
# Need CR comparison operators for testing.
-keepclassmembers class com.hp.creals.CR { *; }