Updated the progaurd conf files

closes #107

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-06-08 01:21:38 -04:00
parent 60d3e1582a
commit c99081a828
2 changed files with 2 additions and 33 deletions

View File

@@ -2,36 +2,5 @@
-keepattributes SourceFile,LineNumberTable -keepattributes SourceFile,LineNumberTable
-flattenpackagehierarchy -flattenpackagehierarchy
-dontoptimize -dontoptimize
-dontskipnonpubliclibraryclasses
-dontpreverify -dontpreverify
-verbose -verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-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 com.android.vending.licensing.ILicensingService
-keep public class * extends android.preference.Preference
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}

View File

@@ -9,7 +9,7 @@
android.library.reference.1=../../exception_handler_library/ExceptionHandlerLib android.library.reference.1=../../exception_handler_library/ExceptionHandlerLib
android.library.reference.2=../../location_library/LocationLib android.library.reference.2=../../location_library/LocationLib
#proguard.config=proguard.cfg proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard.cfg
# Project target. # Project target.
target=Google Inc.:Google APIs:15 target=Google Inc.:Google APIs:15
manifestmerger.enabled=true manifestmerger.enabled=true