diff options
author | Mathew Inwood <mathewi@google.com> | 2020-11-02 15:01:34 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-11-02 15:01:34 +0000 |
commit | 6bcd335c6a96b7f7ea92843ccd1641f2e81a376e (patch) | |
tree | 86a8b0b3fcc3256397a98426c9bae719876799a2 /repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java | |
parent | bba6db0f9e49628c72ad187e822630ec47683cbd (diff) | |
parent | d03fa9385a564b0732ef80d8eb79a8840f6ce175 (diff) | |
download | libphonenumber-6bcd335c6a96b7f7ea92843ccd1641f2e81a376e.tar.gz |
Merge "Add maxTargetSdk restriction to unused APIs."
Diffstat (limited to 'repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java')
-rw-r--r-- | repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java b/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java index 5503bd28..ab63f6dc 100644 --- a/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java +++ b/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberMatch.java @@ -81,25 +81,25 @@ public final class PhoneNumberMatch { } /** Returns the phone number matched by the receiver. */ - @android.compat.annotation.UnsupportedAppUsage + @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) public PhoneNumber number() { return number; } /** Returns the start index of the matched phone number within the searched text. */ - @android.compat.annotation.UnsupportedAppUsage + @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) public int start() { return start; } /** Returns the exclusive end index of the matched phone number within the searched text. */ - @android.compat.annotation.UnsupportedAppUsage + @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) public int end() { return start + rawString.length(); } /** Returns the raw string matched as a phone number in the searched text. */ - @android.compat.annotation.UnsupportedAppUsage + @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) public String rawString() { return rawString; } |