[Android] proguard: try to fix Qmobile and wiko
Thomas Guillem
git at videolan.org
Fri Oct 9 13:31:24 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Oct 9 13:27:55 2015 +0200| [3af3a6795b94e46ba6a69cd0f497c53a88749b08] | committer: Thomas Guillem
proguard: try to fix Qmobile and wiko
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3af3a6795b94e46ba6a69cd0f497c53a88749b08
---
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