[Android] Fix proguard rules for Releases with appcompat v22.2

Jean-Baptiste Kempf git at videolan.org
Fri Jul 3 16:12:58 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul  3 16:12:32 2015 +0200| [69294eade97befb2054ba0a8e51ae9a22dd2e29e] | committer: Jean-Baptiste Kempf

Fix proguard rules for Releases with appcompat v22.2

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=69294eade97befb2054ba0a8e51ae9a22dd2e29e
---

 vlc-android/proguard.cfg |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/vlc-android/proguard.cfg b/vlc-android/proguard.cfg
index 45ef578..4859c16 100644
--- a/vlc-android/proguard.cfg
+++ b/vlc-android/proguard.cfg
@@ -46,3 +46,11 @@
 -keep class * implements android.os.Parcelable {
   public static final android.os.Parcelable$Creator *;
 }
+
+# support design
+-dontwarn android.support.design.**
+-keep class android.support.design.** { *; }
+-keep interface android.support.design.** { *; }
+-keep public class android.support.design.R$* { *; }
+
+-dontwarn android.support.**



More information about the Android mailing list