summaryrefslogtreecommitdiffstats
path: root/mobile/android/config/proguard/appcompat-v7-keeps.cfg
blob: bde6f0fb74a9a4abf4d1a3e8f7815fd1635f670b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Avoid https://code.google.com/p/android/issues/detail?id=187611 and
# http://stackoverflow.com/q/32813894 when building with Gradle.  Why
# these aren't defined in appcompat-v7.aar/proguard.txt is beyond me.

-keep public class android.support.v7.widget.** { *; }
-keep public class android.support.v7.internal.widget.** { *; }
-keep public class android.support.v7.internal.view.menu.** { *; }

-keep public class * extends android.support.v4.view.ActionProvider {
    public <init>(android.content.Context);
}

-keepclassmembers class android.support.graphics.drawable.VectorDrawableCompat$* {
   void set*(***);
   *** get*();
}

-keepattributes LocalVariableTable