diff --git a/FindMyCarFull/AndroidManifest.xml b/FindMyCarFull/AndroidManifest.xml index 2603d0b..be74431 100644 --- a/FindMyCarFull/AndroidManifest.xml +++ b/FindMyCarFull/AndroidManifest.xml @@ -2,7 +2,7 @@ diff --git a/FindMyCarFull/proguard.cfg b/FindMyCarFull/proguard.cfg index 71e998a..33723e3 100644 --- a/FindMyCarFull/proguard.cfg +++ b/FindMyCarFull/proguard.cfg @@ -1,25 +1,55 @@ +# This is a configuration file for ProGuard. +# http://proguard.sourceforge.net/index.html#manual/usage.html -renamesourcefileattribute SourceFile -keepattributes SourceFile,LineNumberTable --optimizationpasses 5 +-flattenpackagehierarchy -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses --dontpreverify -verbose --optimizations !code/simplification/arithmetic,!field/*,!class/merging/* +-repackageclasses 'com.FindMyCarFull' +# 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). +-dontoptimize +-dontpreverify + +# If you want to enable optimization, you should include the +# following: +# -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* +# -optimizationpasses 5 +# -allowaccessmodification +# +# Note that you cannot just include these flags in your own +# configuration file; if you are including this file, optimization +# will be turned off. You'll need to either edit this file, or +# duplicate the contents of this file and remove the include of this +# file from your project's proguard.config path property. + +-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.app.backup.BackupAgentHelper +-keep public class * extends android.app.backup.BackupAgent -keep public class * extends android.preference.Preference +-keep public class * extends android.support.v4.app.Fragment +-keep public class * extends android.app.Fragment -keep public class com.android.vending.licensing.ILicensingService +# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native -keepclasseswithmembernames class * { native ; } +-keep public class * extends android.view.View { + public (android.content.Context); + public (android.content.Context, android.util.AttributeSet); + public (android.content.Context, android.util.AttributeSet, int); + public void set*(...); +} + -keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet); } @@ -32,6 +62,7 @@ public void *(android.view.View); } +# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); @@ -39,4 +70,13 @@ -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; -} \ No newline at end of file +} + +-keepclassmembers class **.R$* { + public static ; +} + +# 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. +-dontwarn android.support.** \ No newline at end of file diff --git a/FindMyCarFull/project.properties b/FindMyCarFull/project.properties index 54582a9..cbce924 100644 --- a/FindMyCarFull/project.properties +++ b/FindMyCarFull/project.properties @@ -11,6 +11,5 @@ split.density=false # Project target. target=Google Inc.:Google APIs:15 - #proguard.config=proguard.cfg -android.library.reference.1=../FindMyCarLib +android.library.reference.1=../FindMyCarLib \ No newline at end of file diff --git a/FindMyCarLib/.classpath b/FindMyCarLib/.classpath index e39cc86..3856341 100644 --- a/FindMyCarLib/.classpath +++ b/FindMyCarLib/.classpath @@ -4,6 +4,6 @@ - + diff --git a/FindMyCarLib/bin/findmycarlib.jar b/FindMyCarLib/bin/findmycarlib.jar index 8c899b0..81f4d63 100644 Binary files a/FindMyCarLib/bin/findmycarlib.jar and b/FindMyCarLib/bin/findmycarlib.jar differ diff --git a/FindMyCarLite/.classpath b/FindMyCarLite/.classpath index fa8c828..ada6705 100644 --- a/FindMyCarLite/.classpath +++ b/FindMyCarLite/.classpath @@ -5,6 +5,6 @@ - + diff --git a/FindMyCarLite/AndroidManifest.xml b/FindMyCarLite/AndroidManifest.xml index d21edb8..530926c 100644 --- a/FindMyCarLite/AndroidManifest.xml +++ b/FindMyCarLite/AndroidManifest.xml @@ -2,7 +2,7 @@ diff --git a/FindMyCarLite/proguard.cfg b/FindMyCarLite/proguard.cfg index 5a20228..f94b36f 100644 --- a/FindMyCarLite/proguard.cfg +++ b/FindMyCarLite/proguard.cfg @@ -1,32 +1,69 @@ +# This is a configuration file for ProGuard. +# http://proguard.sourceforge.net/index.html#manual/usage.html -renamesourcefileattribute SourceFile -keepattributes SourceFile,LineNumberTable -flattenpackagehierarchy --dontoptimize +-dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses --dontpreverify -verbose --optimizations !code/simplification/arithmetic,!field/*,!class/merging/* +-dontoptimize +-dontpreverify +# 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). +-dontoptimize +-dontpreverify + +# If you want to enable optimization, you should include the +# following: +# -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* +# -optimizationpasses 5 +# -allowaccessmodification +# +# Note that you cannot just include these flags in your own +# configuration file; if you are including this file, optimization +# will be turned off. You'll need to either edit this file, or +# duplicate the contents of this file and remove the include of this +# file from your project's proguard.config path property. + +-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 com.android.vending.licensing.ILicensingService +-keep public class * extends android.app.backup.BackupAgent -keep public class * extends android.preference.Preference +-keep public class * extends android.support.v4.app.Fragment +-keep public class * extends android.app.Fragment +-keep public class com.android.vending.licensing.ILicensingService +# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native -keepclasseswithmembernames class * { native ; } --keepclasseswithmembernames class * { +-keep public class * extends android.view.View { + public (android.content.Context); + public (android.content.Context, android.util.AttributeSet); + public (android.content.Context, android.util.AttributeSet, int); + public void set*(...); +} + +-keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet); } --keepclasseswithmembernames class * { +-keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet, int); } +-keepclassmembers class * extends android.app.Activity { + public void *(android.view.View); +} + +# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); @@ -35,3 +72,12 @@ -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } + +-keepclassmembers class **.R$* { + public static ; +} + +# 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. +-dontwarn android.support.** \ No newline at end of file diff --git a/FindMyCarLite/project.properties b/FindMyCarLite/project.properties index 6239499..f8d8c8d 100644 --- a/FindMyCarLite/project.properties +++ b/FindMyCarLite/project.properties @@ -12,5 +12,4 @@ split.density=false android.library.reference.1=../FindMyCarLib/ # Project target. target=Google Inc.:Google APIs:15 - -#proguard.config=proguard.cfg +#proguard.config=proguard.cfg \ No newline at end of file