aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2014-06-15 13:25:24 +0200
committerJorge Ruesga <jorge@ruesga.com>2014-06-15 13:25:24 +0200
commita0172745ebd7276532c02ec1b39c4237e6ad9711 (patch)
tree295d2ffd4a2ceb9d6a3b19c9bc69571c665bffeb
parentcf31f45559b1061dbafb381a568b9b4b09f79d4e (diff)
downloadandroid_packages_wallpapers_PhotoPhase-a0172745ebd7276532c02ec1b39c4237e6ad9711.tar.gz
android_packages_wallpapers_PhotoPhase-a0172745ebd7276532c02ec1b39c4237e6ad9711.tar.bz2
android_packages_wallpapers_PhotoPhase-a0172745ebd7276532c02ec1b39c4237e6ad9711.zip
photophase: fix proguard flags
Change-Id: I0823d87c16f447abbea85203d2b8a18cd965ce23 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
-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>(...);
+}