diff options
author | Makoto Onuki <omakoto@google.com> | 2012-01-27 11:29:38 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2012-01-27 11:29:38 -0800 |
commit | 833072a525ea45426082d3bac0cd6ae1a8c36f22 (patch) | |
tree | c03e7515e9a8be1952e1553d2e653750a78e5dd0 /proguard.flags | |
parent | 7e086471c6317d059af21d292bee964b24613346 (diff) | |
download | ContactsProvider-833072a525ea45426082d3bac0cd6ae1a8c36f22.tar.gz |
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.flags | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/proguard.flags b/proguard.flags index 31170666..308513b9 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 |