diff options
| author | Brian Attwell <brianattwell@google.com> | 2015-02-04 10:38:12 -0800 |
|---|---|---|
| committer | Brian Attwell <brianattwell@google.com> | 2015-02-05 14:32:03 -0800 |
| commit | c6dbe3be2cc6d9e1755d43dc56739b71ce7469f3 (patch) | |
| tree | b6827b7c5d29b8a2033214ca6f2a6000a2a36eb4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 3775a3f8861304073c2b2079f0b9a315a58c1d1a (diff) | |
Unhide and rename PhoneNumberUtils tts methods
Renamed ttsSpanAsPhoneNumber #1 -> getPhoneTtsSpannable
Renamed ttsSpanAsPhoneNumber #2 -> addPhoneTtsSpan
Added getPhoneTtsSpan
Instead of removing the original hidden methods, I deprecated them.
Since Telephony changes initially get checked into wireless-dev
branch and dialer/contacts changes get checked into master branch,
immediately deleting the ttsSpanAsPhoneNumber methods would break
builds.
In ContactsCommon, I plan on removing
ContactDisplayUtils#getTelephoneTtsSpannable and instead using
these Telephony APIs. Numbers I tested worked in ToT master talkback:
911, (650) 215 3111, 22222222222, 333-3333, 013334612234, +1 905 471 8484,
001 39 02 444 4444. The changes in this diff cause the numbers
to be talked-back at least as well as before.
Some context: go/question-about-telephonys-ttsspan
Bug: 18777272
Change-Id: I3a6ead3ee9c030761bde903cf88f4aa4fc7a3460
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
