diff options
author | Ying Wang <wangying@google.com> | 2010-03-03 14:58:34 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2010-03-03 14:58:34 -0800 |
commit | dde4f12f1a3c7cba0ed5625b8d28886161ebe895 (patch) | |
tree | f53b3a0a373c4c6baf85a3e2cf5c169455e5ab81 | |
parent | 39d6546b87be7bd4e48a1f21a37e4f2a96f380d6 (diff) | |
download | LegacyCamera-dde4f12f1a3c7cba0ed5625b8d28886161ebe895.zip LegacyCamera-dde4f12f1a3c7cba0ed5625b8d28886161ebe895.tar.gz LegacyCamera-dde4f12f1a3c7cba0ed5625b8d28886161ebe895.tar.bz2 |
Enable proguard on Camera.
also fix proguard flags.
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | proguard.flags | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -8,7 +8,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := Camera LOCAL_CERTIFICATE := media -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..d1b41b1 --- /dev/null +++ b/proguard.flags @@ -0,0 +1,4 @@ +# ctors of subclasses of CameraPreference are called with Java reflection. +-keep class * extends com.android.camera.CameraPreference { + <init>(...); +} |