summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-03-04 00:33:36 (GMT)
committerYing Wang <wangying@google.com>2010-03-04 01:13:54 (GMT)
commit932b29dbd88f8a257b38a7143d75b2795ccae458 (patch)
treecd8e5b427f9335a9aaa2a108e12293cbd2a2f1c3
parent95853503313f9bb07431918d92aa4ce2a795095d (diff)
downloadandroid_packages_apps_Trebuchet-932b29dbd88f8a257b38a7143d75b2795ccae458.zip
android_packages_apps_Trebuchet-932b29dbd88f8a257b38a7143d75b2795ccae458.tar.gz
android_packages_apps_Trebuchet-932b29dbd88f8a257b38a7143d75b2795ccae458.tar.bz2
Enable Proguard on Launcher2.
-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);
+}