summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2012-01-27 11:49:27 -0800
committerMakoto Onuki <omakoto@google.com>2012-01-27 11:49:27 -0800
commita0290a4baab4297303cab3664c7abfd548f2e301 (patch)
treebcba464cb00999cf0a3cac6f912071c98906ebcd /proguard.flags
parentcd564c953280182b64b2391c49e36a8c858f1e0d (diff)
downloadpackages_apps_Contacts-a0290a4baab4297303cab3664c7abfd548f2e301.tar.gz
packages_apps_Contacts-a0290a4baab4297303cab3664c7abfd548f2e301.tar.bz2
packages_apps_Contacts-a0290a4baab4297303cab3664c7abfd548f2e301.zip
Fix proguard flags
Removed problematic *ForTest and use NeededForTesting instead. Change-Id: I61517b6ea30da2461f541ceca19f04f24f8624da
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags18
1 files changed, 2 insertions, 16 deletions
diff --git a/proguard.flags b/proguard.flags
index f4ec4b2ea..79378e644 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -9,24 +9,10 @@
public void *(android.view.MenuItem);
}
-# 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();
-}
-
-# Any methods whose name is '*ForTest' are preserved.
--keep class ** {
- *** *ForTest(...);
-}
-
# Any class or method annotated with NeededForTesting.
-keep @com.android.contacts.test.NeededForTesting class *
-keepclassmembers class * {
@com.android.contacts.test.NeededForTesting *;
}
+
+-verbose