summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rw-r--r--proguard.flags4
2 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index c1c408d..dda7f0c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -27,6 +27,6 @@ LOCAL_PACKAGE_NAME := Launcher2
LOCAL_OVERRIDES_PACKAGES := Home
-LOCAL_PROGUARD_ENABLED := disabled
+LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
include $(BUILD_PACKAGE)
diff --git a/proguard.flags b/proguard.flags
new file mode 100644
index 0000000..b8aeff7
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,4 @@
+-keep class com.android.launcher2.Launcher {
+ public void previousScreen(android.view.View);
+ public void nextScreen(android.view.View);
+}