proguard.cfg 1.4 KB

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