diff options
author | David Christie <dnchrist@google.com> | 2015-10-27 13:29:14 -0700 |
---|---|---|
committer | David Christie <dnchrist@google.com> | 2015-10-27 14:13:03 -0700 |
commit | 5575ddfcc1a1a7873d493ad6bbc522a9652d4ffc (patch) | |
tree | c2525b832d2d808dde0ca4258fe4910ff90bb09a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 780318180fa5ce496a45567a063a4ea90acfd10f (diff) |
Correct range checking for location strings during conversion
Minute values in the range [0, 59] are valid if seconds are
present. If seconds are not present then minute values are
valid in the range [0, <60]
Second values are valid in the range [0, <60]
Examples:
50:59:59.99999 is valid
50:59.99999 is valid
50:59.1:1 is not valid
Patch taken from Motorola: partner gerrit 137210
Bug: 17958582
Change-Id: I0d1265534092157883af564119f723984362d436
Issues: 2667 and 2668
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions