[Android] [PATCH] Better workaround for Samsung mess

Geoffrey Métais geoffrey.metais at gmail.com
Wed Feb 11 18:21:28 CET 2015


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

diff --git a/vlc-android/proguard.cfg b/vlc-android/proguard.cfg
index 332b17d..45ef578 100644
--- a/vlc-android/proguard.cfg
+++ b/vlc-android/proguard.cfg
@@ -19,9 +19,8 @@
 -keep public class com.android.vending.licensing.ILicensingService
 
 # Samsung shit workaround
--repackageclasses "android.support.v7"
--keep class android.support.v7.widget.** { *; }
--keep interface android.support.v7.widget.** { *; }
+# see https://code.google.com/p/android/issues/detail?id=78377#c160
+-keep class !android.support.v7.internal.view.menu.**, android.support.v7.** { *; }
 
 -keepclasseswithmembernames class * {
     native <methods>;
-- 
2.1.0



More information about the Android mailing list