summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-12 12:38:41 -0700
committerYorke Lee <yorkelee@google.com>2013-09-12 12:38:41 -0700
commit42210256d3d584783ac2fb2742088ce57d9da766 (patch)
treedb9e42eec2b3c8407efc068eaef3a6e3870d2fc1 /tests
parent675f39d654c1b905a26299baf8594d4c12177b88 (diff)
downloadandroid_packages_apps_ContactsCommon-42210256d3d584783ac2fb2742088ce57d9da766.tar.gz
android_packages_apps_ContactsCommon-42210256d3d584783ac2fb2742088ce57d9da766.tar.bz2
android_packages_apps_ContactsCommon-42210256d3d584783ac2fb2742088ce57d9da766.zip
Fix search highlighting
Bug: 10713067 Change-Id: I6fd3e6018619d61f7c69bbcaf2ad7475b20499a6
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/contacts/common/format/TextHighlighterTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/contacts/common/format/TextHighlighterTest.java b/tests/src/com/android/contacts/common/format/TextHighlighterTest.java
index f6962f8d..b97542d4 100644
--- a/tests/src/com/android/contacts/common/format/TextHighlighterTest.java
+++ b/tests/src/com/android/contacts/common/format/TextHighlighterTest.java
@@ -16,6 +16,7 @@
package com.android.contacts.common.format;
+import android.graphics.Typeface;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.SpannableString;
@@ -36,7 +37,7 @@ public class TextHighlighterTest extends TestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
- mTextHighlighter = new TextHighlighter(TEST_PREFIX_HIGHLIGHT_COLOR);
+ mTextHighlighter = new TextHighlighter(Typeface.BOLD);
}
public void testApply_EmptyPrefix() {