3b6c8460abb51686815217270c97797f980bdfbb |
|
06-Apr-2018 |
Torne (Richard Coles) <torne@google.com> |
Only match addresses without zip codes if at the end. The old native implementation of findAddress only accepted addresses without zip codes if they appeared at the end of the string. This was probably a bug as the documentation implies this should work in all cases, but fixing this bug has caused a lot of false positives while not fixing very many false negatives and this functionality is being deprecated anyway, so change it back. Remove LinkifyCompatTest#testFindAddress_withoutZipCode because the LinkifyCompatTest mechanisms expect to be able to add surrounding text and still have the address match, which is no longer the case with this change. The coverage of this isn't vital. Fixes: 77638722 Test: FindAddressTest & LinkifyCompatTest Change-Id: Iff713173444fc3318cdcfb679022233a6a177720
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/FindAddressTest.java
|
ac5fe7c617c66850fff75a9fce9979c6e5674b0f |
|
06-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Refactor support library Test: None Change-Id: I92e450c739fc9d77e8f8840bed4165ab88247fd6
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/FindAddressTest.java
|
f27b1ffc67228d73326ec3426fef4c9db75cd6fd |
|
06-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Revert "Refactor support library." This reverts commit b31c3281d870e9abb673db239234d580dcc4feff. Change-Id: Icfa5b9af633739ad2c857dff22a2181bac6661ef
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/FindAddressTest.java
|
b31c3281d870e9abb673db239234d580dcc4feff |
|
20-Feb-2018 |
Aurimas Liutikas <aurimas@google.com> |
Refactor support library. Test: None Change-Id: I11a047324832801555673dac45ec1d6590a6338b
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/FindAddressTest.java
|