# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Guava reccomends using this option
# https://code.google.com/p/guava-libraries/wiki/UsingProGuardWithGuava
-dontoptimize

# Obfuscation makes debugging difficult, so disable it.
-dontobfuscate

# Don't show notes from libraries we use
-dontnote android.support.**
-dontnote com.google.common.**
-dontnote com.google.android.gms.**
-dontnote com.leff.midi.MidiTrack

# Keep all classes that might be used in XML speech rules.
-keep class * implements com.android.talkback.formatter.EventSpeechRule$AccessibilityEventFormatter
-keep class * implements com.android.talkback.formatter.EventSpeechRule$AccessibilityEventFilter
-keep class com.android.talkback.tutorial.** {
    public protected private *;
}

# Get weird errors about android support library
-dontwarn android.**
-dontwarn sun.misc.Unsafe
-dontwarn com.google.common.**
-dontwarn com.google.android.gms.**
