forked from upstream-mirrors/OpenTracks
Fix proguard issue with fusion table.
Fusion table depends on google-api-client-1.2.2.alpha.jar. Proguard needs to be set correctly for the google-api-client library. Tested a release version and is able to send a track to fusion table.
This commit is contained in:
@@ -51,3 +51,15 @@
|
||||
-keep class * implements android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
||||
|
||||
# Needed by google-api-client to keep generic types and @Key annotations accessed via reflection
|
||||
|
||||
-keepclassmembers class * {
|
||||
@com.google.api.client.util.Key <fields>;
|
||||
}
|
||||
|
||||
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
|
||||
|
||||
# Needed by Guava
|
||||
|
||||
-dontwarn sun.misc.Unsafe
|
||||
|
||||
Reference in New Issue
Block a user