diff --git a/LocationRinger/proguard.cfg b/LocationRinger/proguard.cfg index 3aaa2b8..10f5a39 100644 --- a/LocationRinger/proguard.cfg +++ b/LocationRinger/proguard.cfg @@ -2,36 +2,5 @@ -keepattributes SourceFile,LineNumberTable -flattenpackagehierarchy -dontoptimize --dontskipnonpubliclibraryclasses -dontpreverify --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 ; -} - --keepclasseswithmembers class * { - public (android.content.Context, android.util.AttributeSet); -} - --keepclasseswithmembers class * { - public (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 *; -} +-verbose \ No newline at end of file diff --git a/LocationRinger/project.properties b/LocationRinger/project.properties index 64f3d6a..1d483db 100644 --- a/LocationRinger/project.properties +++ b/LocationRinger/project.properties @@ -9,7 +9,7 @@ android.library.reference.1=../../exception_handler_library/ExceptionHandlerLib android.library.reference.2=../../location_library/LocationLib -#proguard.config=proguard.cfg +proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard.cfg # Project target. target=Google Inc.:Google APIs:15 manifestmerger.enabled=true