From 8f043d61024d245b64084babbcae3e7bc131c2ce Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Sun, 20 Nov 2011 16:44:23 -0600 Subject: [PATCH] Prevent proguard from clobbering enum methods It was breaking the playback activity actions --- proguard.config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proguard.config b/proguard.config index 89717e9c..88b63ba4 100644 --- a/proguard.config +++ b/proguard.config @@ -17,6 +17,11 @@ -keep public class * extends android.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + -keepclasseswithmembernames class * { native ; } @@ -30,7 +35,7 @@ } -keepclassmembers class * extends android.app.Activity { - public void *(android.view.View); + public void *(android.view.View); } -keep class * implements android.os.Parcelable {