diff options
Diffstat (limited to 'tests/src/com/android/dialer/calllog/PhoneCallDetailsHelperTest.java')
-rw-r--r-- | tests/src/com/android/dialer/calllog/PhoneCallDetailsHelperTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/dialer/calllog/PhoneCallDetailsHelperTest.java b/tests/src/com/android/dialer/calllog/PhoneCallDetailsHelperTest.java index ecbb89878..c30861c8e 100644 --- a/tests/src/com/android/dialer/calllog/PhoneCallDetailsHelperTest.java +++ b/tests/src/com/android/dialer/calllog/PhoneCallDetailsHelperTest.java @@ -319,7 +319,7 @@ public class PhoneCallDetailsHelperTest extends AndroidTestCase { public void testGetCallTypeOrLocation_DisplayNumber() { PhoneCallDetails details = getPhoneCallDetails("", Calls.PRESENTATION_ALLOWED, TEST_FORMATTED_NUMBER); - details.name = "name"; + details.namePrimary = "name"; assertEquals(TEST_FORMATTED_NUMBER, mHelper.getCallTypeOrLocation(details)); } @@ -418,7 +418,7 @@ public class PhoneCallDetailsHelperTest extends AndroidTestCase { private void setCallDetailsHeader(String name) { PhoneCallDetails details = getPhoneCallDetails(); - details.name = name; + details.namePrimary = name; mHelper.setCallDetailsHeader(mNameView, details); } |