summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorDaniel Lehmann <lehmannd@google.com>2010-03-04 21:25:03 -0800
committerDaniel Lehmann <lehmannd@google.com>2010-03-04 21:25:03 -0800
commit69bfe08b2fb98bd408b4c7160385ce3ed1f01dde (patch)
treecb6dba0b966d6168f7abddd74648afc4382781ec /proguard.flags
parentc419689c634ac23cb378f9155ccdaaf4498287b2 (diff)
downloadpackages_apps_Contacts-69bfe08b2fb98bd408b4c7160385ce3ed1f01dde.tar.gz
packages_apps_Contacts-69bfe08b2fb98bd408b4c7160385ce3ed1f01dde.tar.bz2
packages_apps_Contacts-69bfe08b2fb98bd408b4c7160385ce3ed1f01dde.zip
Fix Tests with Proguard enabled
Bug: 2487277 Change-Id: I213fcf3037c4f2f5789535c7c3193fc05b9fd919
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags14
1 files changed, 14 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
new file mode 100644
index 000000000..6cc704cc0
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,14 @@
+-keep class com.android.contacts.model.Sources {
+ public <init>(...);
+}
+
+# TODO: Instead of keeping the following two functions we could as well just remove them completely
+# as they are only used in test code
+
+-keep class com.android.contacts.model.EntityDelta {
+ public com.android.contacts.model.EntityDelta$ValuesDelta getSuperPrimaryEntry(java.lang.String,boolean);
+}
+
+-keep class com.android.contacts.model.EntityDelta$ValuesDelta {
+ public android.content.ContentValues getAfter();
+}