aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--proguard.flags22
1 files changed, 20 insertions, 2 deletions
diff --git a/proguard.flags b/proguard.flags
index 38329a5..61d4925 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -44,11 +44,29 @@
public static <fields>;
}
+#keep all enumerations
+-keep public enum * {
+ **[] $VALUES;
+ public *;
+}
+
#keep preference's classes
-keep public class * extends android.preference.PreferenceFragment {
- public <init>(...);
+ public <init>(...);
}
-keep public class * extends android.preference.Preference {
- public <init>(...);
+ public <init>(...);
}
+#keep effects and transitions classes public
+-keep public class org.cyanogenmod.wallpapers.photophase.effects.* {
+ public <init>(...);
+ public String getName();
+ public void apply(...);
+ public void setParameter(...);
+ public void setUpdateListener(...);
+ public void release(...);
+}
+-keep public class org.cyanogenmod.wallpapers.photophase.transitions.* {
+ public <init>(...);
+}