diff options
author | Brian Attwell <brianattwell@google.com> | 2015-05-28 16:23:37 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2015-05-28 16:23:37 -0700 |
commit | 1a15ab91bcdf780f0d109f4a4d18701195ffdb49 (patch) | |
tree | d9a0261d3da604f474d6e0726088db4116e3e115 /telephony | |
parent | b97df269b5c44dc6aed70bdff156cd70ee394fbb (diff) | |
download | frameworks_base-1a15ab91bcdf780f0d109f4a4d18701195ffdb49.zip frameworks_base-1a15ab91bcdf780f0d109f4a4d18701195ffdb49.tar.gz frameworks_base-1a15ab91bcdf780f0d109f4a4d18701195ffdb49.tar.bz2 |
Rename "end" to "endExclusive" in addPhoneTtsSpan
Bug: 21209482
Change-Id: If505acecf5ca398560a9a23ea23ff8dd741e4025
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/PhoneNumberUtils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java index aae3ff6..a41875f 100644 --- a/telephony/java/android/telephony/PhoneNumberUtils.java +++ b/telephony/java/android/telephony/PhoneNumberUtils.java @@ -2351,12 +2351,12 @@ public class PhoneNumberUtils * * @param s A {@code Spannable} to annotate. * @param start The starting character position of the phone number in {@code s}. - * @param end The ending character position of the phone number in {@code s}. + * @param endExclusive The position after the ending character in the phone number {@code s}. */ - public static void addPhoneTtsSpan(Spannable s, int start, int end) { - s.setSpan(getPhoneTtsSpan(s.subSequence(start, end).toString()), + public static void addPhoneTtsSpan(Spannable s, int start, int endExclusive) { + s.setSpan(getPhoneTtsSpan(s.subSequence(start, endExclusive).toString()), start, - end, + endExclusive, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); } |