Thomas Martitz | e9cb953 | 2012-01-03 21:15:21 +0000 | [diff] [blame] | 1 | -optimizationpasses 5 |
| 2 | -dontusemixedcaseclassnames |
| 3 | -dontskipnonpubliclibraryclasses |
| 4 | -dontpreverify |
| 5 | -verbose |
| 6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* |
| 7 | |
| 8 | -keep public class * extends android.app.Activity |
| 9 | -keep public class * extends android.app.Application |
| 10 | -keep public class * extends android.app.Service |
| 11 | -keep public class * extends android.content.BroadcastReceiver |
| 12 | -keep public class * extends android.content.ContentProvider |
| 13 | -keep public class * extends android.app.backup.BackupAgentHelper |
| 14 | -keep public class * extends android.preference.Preference |
| 15 | -keep public class com.android.vending.licensing.ILicensingService |
| 16 | |
| 17 | -keepclasseswithmembernames class * { |
| 18 | native <methods>; |
| 19 | } |
| 20 | |
| 21 | -keepclasseswithmembers class * { |
| 22 | public <init>(android.content.Context, android.util.AttributeSet); |
| 23 | } |
| 24 | |
| 25 | -keepclasseswithmembers class * { |
| 26 | public <init>(android.content.Context, android.util.AttributeSet, int); |
| 27 | } |
| 28 | |
| 29 | -keepclassmembers class * extends android.app.Activity { |
| 30 | public void *(android.view.View); |
| 31 | } |
| 32 | |
| 33 | -keepclassmembers enum * { |
| 34 | public static **[] values(); |
| 35 | public static ** valueOf(java.lang.String); |
| 36 | } |
| 37 | |
| 38 | -keep class * implements android.os.Parcelable { |
| 39 | public static final android.os.Parcelable$Creator *; |
| 40 | } |