summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-02-19 18:54:16 -0800
committerYing Wang <wangying@google.com>2010-02-19 18:54:16 -0800
commitfa141ffbb5066d1a40c87f5afe417251a11a2c32 (patch)
tree122853c481f329f0c073d2182096fe47457a710d
parentcaf70a09d2b33599dea8250cdc494e6fd2292735 (diff)
downloadandroid_packages_wallpapers_LivePicker-fa141ffbb5066d1a40c87f5afe417251a11a2c32.zip
android_packages_wallpapers_LivePicker-fa141ffbb5066d1a40c87f5afe417251a11a2c32.tar.gz
android_packages_wallpapers_LivePicker-fa141ffbb5066d1a40c87f5afe417251a11a2c32.tar.bz2
Fix Proguard flags.
-rw-r--r--Android.mk2
-rw-r--r--proguard.flags3
2 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 3a00136..7245794 100644
--- a/Android.mk
+++ b/Android.mk
@@ -47,4 +47,6 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := LiveWallpapersPicker
LOCAL_CERTIFICATE := platform
+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..4c5ea69
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,3 @@
+-keepclassmembers class com.android.wallpaper.livepicker.LiveWallpaperPreview {
+ public void setLiveWallpaper(android.view.View);
+}