diff options
author | Jay Shrauner <shrauner@google.com> | 2015-04-09 15:17:12 -0700 |
---|---|---|
committer | Jay Shrauner <shrauner@google.com> | 2015-04-09 15:18:08 -0700 |
commit | 1c1d9acc6625a40da0f6e11788f60a59a61c3fd1 (patch) | |
tree | c9a1d28e0147382422a9c859bcd70c1a51161763 /src | |
parent | fcb5a03fbd4392ca9e159fcb7debf457cb2e739d (diff) |
Remove deprecated API use
Switch to getPhoneTtsSpannable
Bug:
Change-Id: I1024aea2a766f6ac284bc5207c0e32c29c0cb72f
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java index 914e7baf7..7c64c5b28 100644 --- a/src/com/android/dialer/calllog/CallLogAdapter.java +++ b/src/com/android/dialer/calllog/CallLogAdapter.java @@ -381,7 +381,7 @@ public class CallLogAdapter extends GroupingListAdapter final long photoId = info.photoId; final Uri photoUri = info.photoUri; CharSequence formattedNumber = info.formattedNumber == null - ? null : PhoneNumberUtils.ttsSpanAsPhoneNumber(info.formattedNumber); + ? null : PhoneNumberUtils.getPhoneTtsSpannable(info.formattedNumber); final int[] callTypes = getCallTypes(c, count); final String geocode = c.getString(CallLogQuery.GEOCODED_LOCATION); final int sourceType = info.sourceType; |