diff options
author | Dmitri Plotnikov <dplotnikov@google.com> | 2011-02-22 14:10:16 -0800 |
---|---|---|
committer | Dmitri Plotnikov <dplotnikov@google.com> | 2011-02-22 14:10:16 -0800 |
commit | 383d8aa53aa2f74a4b71642de7df2e4b9f2242c8 (patch) | |
tree | 0062f8b5c0da87a73b17ae000443796de982c202 /src | |
parent | 0db2cea4e4a8082ca8dd7d2023b9f3025c2768d8 (diff) | |
download | packages_providers_ContactsProvider-383d8aa53aa2f74a4b71642de7df2e4b9f2242c8.zip packages_providers_ContactsProvider-383d8aa53aa2f74a4b71642de7df2e4b9f2242c8.tar.gz packages_providers_ContactsProvider-383d8aa53aa2f74a4b71642de7df2e4b9f2242c8.tar.bz2 |
Fix tests broken by proguard
Bug: 3466915
Change-Id: If506bba3142c7b8fd8ef3a8033693925f51da2ca
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/providers/contacts/ContactsDatabaseHelper.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/providers/contacts/ContactsDatabaseHelper.java b/src/com/android/providers/contacts/ContactsDatabaseHelper.java index 6fc936f..a8c585d 100644 --- a/src/com/android/providers/contacts/ContactsDatabaseHelper.java +++ b/src/com/android/providers/contacts/ContactsDatabaseHelper.java @@ -3960,8 +3960,7 @@ import java.util.Locale; return mCountryMonitor.getCountryIso(); } - /* visible for testing */ - /* package */ String querySearchIndexContent(long contactId) { + /* package */ String querySearchIndexContentForTest(long contactId) { return DatabaseUtils.stringForQuery(getReadableDatabase(), "SELECT " + SearchIndexColumns.CONTENT + " FROM " + Tables.SEARCH_INDEX + @@ -3969,8 +3968,7 @@ import java.util.Locale; new String[] { String.valueOf(contactId) }); } - /* visible for testing */ - /* package */ String querySearchIndexTokens(long contactId) { + /* package */ String querySearchIndexTokensForTest(long contactId) { return DatabaseUtils.stringForQuery(getReadableDatabase(), "SELECT " + SearchIndexColumns.TOKENS + " FROM " + Tables.SEARCH_INDEX + |