diff options
author | Philip P. Moltmann <moltmann@google.com> | 2017-07-11 09:14:47 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2017-07-11 09:19:31 -0700 |
commit | 4e5ce390399a77d47aa775e9eb7d04b5e8061483 (patch) | |
tree | d62998cb9845f2ceede6a52e330b7c0569023b34 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4c79c7b411cd40b378000de735886a59359ddb9e (diff) |
Implement Luhn checksum algo
Ignore all non-digits. If only digits should be allowed, the
developer can use a combination of SimpleRegexValidator and
RequiredValidators.
Bug: 62534917
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
--test=android.autofillservice.cts.LuhnChecksumValidatorTest
Change-Id: I4a7c68a236c3d4cb967f1bc61115df89e584a86d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions