summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2012-01-27 11:29:38 -0800
committerMakoto Onuki <omakoto@google.com>2012-01-27 11:29:38 -0800
commit833072a525ea45426082d3bac0cd6ae1a8c36f22 (patch)
treec03e7515e9a8be1952e1553d2e653750a78e5dd0 /proguard.flags
parent7e086471c6317d059af21d292bee964b24613346 (diff)
downloadpackages_providers_ContactsProvider-833072a525ea45426082d3bac0cd6ae1a8c36f22.zip
packages_providers_ContactsProvider-833072a525ea45426082d3bac0cd6ae1a8c36f22.tar.gz
packages_providers_ContactsProvider-833072a525ea45426082d3bac0cd6ae1a8c36f22.tar.bz2
Fix proguard flags
Removed the *ForTest exception. It caused issues with guava. Now that we have NeededForTesting, we don't really need it. (But didn't change method names from XxxForTest to Xxx, because I still think using this prefix for test-only methods is a good idea, as it'll make it easier to catch the use of methods in the main apk that are not supposed to be used.) Change-Id: Idccfd7175372b1a2253b19161ae572dae7e1e952
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags7
1 files changed, 2 insertions, 5 deletions
diff --git a/proguard.flags b/proguard.flags
index 3117066..308513b 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -7,13 +7,10 @@
int getCount();
}
-# Any methods whose name is '*ForTest' are preserved.
--keep class ** {
- *** *ForTest(...);
-}
-
# Any class or method annotated with NeededForTesting.
-keep @com.android.providers.contacts.util.NeededForTesting class *
-keepclassmembers class * {
@com.android.providers.contacts.util.NeededForTesting *;
}
+
+-verbose \ No newline at end of file