[Android] proguard: try to fix Qmobile and wiki

Thomas Guillem git at videolan.org
Fri Oct 9 13:29:02 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Oct  9 13:27:55 2015 +0200| [6320061698605bc751afeef662489a57a15f9f47] | committer: Thomas Guillem

proguard: try to fix Qmobile and wiki

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

 vlc-android/proguard.cfg |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vlc-android/proguard.cfg b/vlc-android/proguard.cfg
index 4859c16..8d03f6f 100644
--- a/vlc-android/proguard.cfg
+++ b/vlc-android/proguard.cfg
@@ -18,9 +18,11 @@
 -keep public class * extends android.preference.Preference
 -keep public class com.android.vending.licensing.ILicensingService
 
-# Samsung shit workaround
+# Samsung, wiki and QMobile shit workaround
 # see https://code.google.com/p/android/issues/detail?id=78377#c160
--keep class !android.support.v7.internal.view.menu.**, android.support.v7.** { *; }
+-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
+-dontoptimize
+-keep class !android.support.v7.internal.view.menu.**, ** { *; }
 
 -keepclasseswithmembernames class * {
     native <methods>;



More information about the Android mailing list