diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-06-30 15:23:56 +0900 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-06-30 15:23:56 +0900 |
commit | 6d4d66fc31fe1bb61437b9ff6da9a400191f3070 (patch) | |
tree | abe6fbcb7b69caa96d0c9eae84481ba072aa5643 /proguard.flags | |
parent | f290eeaca7dbc7fd6fa3bb6c66339d7b6e2f4172 (diff) | |
download | packages_apps_Contacts-6d4d66fc31fe1bb61437b9ff6da9a400191f3070.tar.gz packages_apps_Contacts-6d4d66fc31fe1bb61437b9ff6da9a400191f3070.tar.bz2 packages_apps_Contacts-6d4d66fc31fe1bb61437b9ff6da9a400191f3070.zip |
Let Contacts refrain from stripping methods with the suffix ForTest.
Without this flag, we cannot add any method used only in testing.
Change-Id: I25703047cdc68b567c8bb4cb79b37835d7b74009
Diffstat (limited to 'proguard.flags')
-rw-r--r-- | proguard.flags | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags index 6cc704cc0..577144b53 100644 --- a/proguard.flags +++ b/proguard.flags @@ -12,3 +12,8 @@ -keep class com.android.contacts.model.EntityDelta$ValuesDelta { public android.content.ContentValues getAfter(); } + +# Any methods whose name is '*ForTest' are preserved. +-keep class ** { + *** *ForTest(...); +}
\ No newline at end of file |