diff options
author | Yorke Lee <yorkelee@google.com> | 2014-02-11 12:35:06 -0800 |
---|---|---|
committer | Jay Shrauner <shrauner@google.com> | 2014-03-04 05:56:43 +0000 |
commit | efa79daa206882cd74e8d8dc7745a3139651c333 (patch) | |
tree | fbf280594c60de17ad45882776b4d9bd5f6d9b08 | |
parent | fda11a1730cdd4ef20f434f95bc671b26a78f041 (diff) | |
download | packages_apps_ContactsCommon-efa79daa206882cd74e8d8dc7745a3139651c333.tar.gz packages_apps_ContactsCommon-efa79daa206882cd74e8d8dc7745a3139651c333.tar.bz2 packages_apps_ContactsCommon-efa79daa206882cd74e8d8dc7745a3139651c333.zip |
Make ContactTileLoaderFactory.COLUMNS_PHONE_ONLY visible for testing
Change-Id: Ib052c165915bb90ee9577aea3ac6146ecb020399
(cherry picked from commit 866e22c1602c90426c603d677ed72c83b41419d8)
-rw-r--r-- | src/com/android/contacts/common/ContactTileLoaderFactory.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/contacts/common/ContactTileLoaderFactory.java b/src/com/android/contacts/common/ContactTileLoaderFactory.java index 2a44c097..f8b0c359 100644 --- a/src/com/android/contacts/common/ContactTileLoaderFactory.java +++ b/src/com/android/contacts/common/ContactTileLoaderFactory.java @@ -15,6 +15,8 @@ */ package com.android.contacts.common; +import com.google.common.annotations.VisibleForTesting; + import android.content.Context; import android.content.CursorLoader; import android.net.Uri; @@ -63,7 +65,8 @@ public final class ContactTileLoaderFactory { * is set to true. The main difference is the lack of presence * and status data and the addition of phone number and label. */ - private static final String[] COLUMNS_PHONE_ONLY = new String[] { + @VisibleForTesting + public static final String[] COLUMNS_PHONE_ONLY = new String[] { Contacts._ID, // ..........................................0 Contacts.DISPLAY_NAME, // .................................1 Contacts.STARRED, // ......................................2 |