summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitri Plotnikov <dplotnikov@google.com>2011-02-22 14:10:16 -0800
committerDmitri Plotnikov <dplotnikov@google.com>2011-02-22 14:10:16 -0800
commit383d8aa53aa2f74a4b71642de7df2e4b9f2242c8 (patch)
tree0062f8b5c0da87a73b17ae000443796de982c202 /src
parent0db2cea4e4a8082ca8dd7d2023b9f3025c2768d8 (diff)
downloadpackages_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.java6
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 +