summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rw-r--r--proguard.flags2
2 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index fcb2c6c..8c53458 100644
--- a/Android.mk
+++ b/Android.mk
@@ -10,6 +10,6 @@ LOCAL_JAVA_LIBRARIES := ext
LOCAL_PACKAGE_NAME := UserDictionaryProvider
LOCAL_CERTIFICATE := shared
-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..8a4a14f
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,2 @@
+-keep class com.android.providers.userdictionary.UserDictionaryProvider
+-keep class * extends android.app.BackupAgent