summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-09-04 16:09:55 +0100
committerNeil Fuller <nfuller@google.com>2019-09-04 17:28:46 +0100
commite6da11083c8dbf391269f2495537376dfb9d978c (patch)
tree3c6a0d99e6f7dd1c20990ccdb7d5d72a4dc190fc /annotations/generate_annotated_java_files.py
parent23a5b6c5031d8d21c60dc15e2664b35acdd91b49 (diff)
Move isDefaultOkForCountryTimeZoneDetection
Push the CountryTimeZones.isDefaultOkForCountryTimeZoneDetection(long) method up to telephony code. When written it was unclear whether the method was going to be useful for future time zone detection code but it was "cheap" to put it in the libcore code / Core Platform API. It is still unclear whether it will be used but it's far from certain and every API method will carry a support cost in future so pushing it up to the one user and making the libcore code more general makes more sense. This commit also contains an improvement to CountryTimeZones.getTimeZone() logic and makes it part of the Core Platform API. Bug: 139928367 Test: atest libcore.libcore.timezone.CountryTimeZonesTest Change-Id: I4e1d405899d431cda492f3664cc84431caa3f6be
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions