mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
29 lines
1.3 KiB
Prolog
29 lines
1.3 KiB
Prolog
#
|
|
# Proguard config for a Google Maps Android API sample project.
|
|
#
|
|
# This file only contains the proguard options required by the Google Maps
|
|
# Android API v2. You should use these settings in addition to those provided by the
|
|
# Android SDK (<sdk>/tools/proguard/proguard-android-optimize.txt).
|
|
#
|
|
# For more details on the use of proguard in Android, please read:
|
|
# http://proguard.sourceforge.net/manual/examples.html#androidapplication
|
|
-optimizations !code/simplification/variable
|
|
-keep public class * extends android.app.Activity
|
|
-keep public class * extends android.app.Fragment
|
|
-keep public class * extends android.support.v4.app.Fragment
|
|
# The Maps Android API uses custom parcelables.
|
|
# Use this rule (which is slightly broader than the standard recommended one)
|
|
# to avoid obfuscating them.
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
static *** CREATOR;
|
|
}
|
|
# The Maps Android API uses serialization.
|
|
-keepclassmembers class * implements java.io.Serializable {
|
|
static final long serialVersionUID;
|
|
static final java.io.ObjectStreamField[] serialPersistentFields;
|
|
private void writeObject(java.io.ObjectOutputStream);
|
|
private void readObject(java.io.ObjectInputStream);
|
|
java.lang.Object writeReplace();
|
|
java.lang.Object readResolve();
|
|
}
|