blob: af0e05df5447b811f48a5398a9ef4d8b897ffd9c [file] [log] [blame]
# see
-optimizations !code/simplification/arithmetic
-optimizations !code/simplification/cast
# To prevent name conflict in incremental obfuscation.
# Some classes in the libraries extend package private classes to chare common functionality
# that isn't explicitly part of the API
-dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers
# For enumeration classes, see
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
# For native methods, see
-keepclasseswithmembernames class * {
native <methods>;
# class$ methods are inserted by some compilers to implement .class construct,
# see
-keepclassmembernames class * {
java.lang.Class class$(java.lang.String);
java.lang.Class class$(java.lang.String, boolean);
# Keep serializable classes and necessary members for serializable classes
# Copied from the ProGuard manual at
-keepnames class * implements
-keepclassmembers class * implements {
static final long serialVersionUID;
private static final[] serialPersistentFields;
!static !transient <fields>;
private void writeObject(;
private void readObject(;
java.lang.Object writeReplace();
java.lang.Object readResolve();
# Please specify classes to be kept explicitly in your package's configuration.
# -keep class * extends
# -keep class * extends android.view.View
# -keep class * extends
# -keep class * extends android.content.BroadcastReceiver
# -keep class * extends android.content.ContentProvider
# -keep class * extends android.preference.Preference
# -keep class * extends
#-keep class * implements android.os.Parcelable {
# public static final android.os.Parcelable$Creator *;
# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
# See proguard-android.txt in the SDK package.