prepare to use gapis
[WhereAmI.git] / proguard.cfg
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 }
41
42 # Needed by google-api-client to keep generic types and @Key annotations accessed via reflection
43
44 -keepclassmembers class * {
45   @com.google.api.client.util.Key <fields>;
46 }
47
48 -keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
49
50 # Needed by Guava
51
52 -dontwarn sun.misc.Unsafe