-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
--- /dev/null
+package org.average.whereami;
+
+public class ClientCredentials {
+
+ public static final String clientID = null;
+ public static final String clientSecret = null;
+
+ public static void errorIfNotSpecified() {
+ if (clientID == null) {
+ System.err.println("Please enter your client ID in " +
+ ClientCredentials.class);
+ System.exit(1);
+ }
+ }
+}