summaryrefslogtreecommitdiff
path: root/mmodules
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2020-02-04 20:33:19 +0000
committerNeil Fuller <nfuller@google.com>2020-02-05 17:14:55 +0000
commit1eb2d871477d7eebd26874e51930a18ab6751afc (patch)
tree392b275b1f4064867733d0d8efcfb51fc4d472ff /mmodules
parented3ff65cd1e3525fdac826dbcaca6c7623e25572 (diff)
Avoid a @Nullable Boolean
To avoid a @Nullable Boolean one method has been split into two. After some changes in the last release this also removes an optional parameter from the two new methods as it is now always null. Bug: 148450671 Test: treehugger Test: atest libcore.libcore.timezone.CountryTimeZonesTest Change-Id: I45d4944074069a1461273e18a18ba23d2a2db0bd
Diffstat (limited to 'mmodules')
-rw-r--r--mmodules/core_platform_api/api/platform/current-api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/mmodules/core_platform_api/api/platform/current-api.txt b/mmodules/core_platform_api/api/platform/current-api.txt
index 99c7e5b033..c3a603cfe0 100644
--- a/mmodules/core_platform_api/api/platform/current-api.txt
+++ b/mmodules/core_platform_api/api/platform/current-api.txt
@@ -1104,7 +1104,8 @@ package libcore.timezone {
method public boolean hasUtcZone(long);
method public boolean isDefaultTimeZoneBoosted();
method public boolean isForCountryCode(String);
- method public libcore.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(int, Boolean, Integer, long, android.icu.util.TimeZone);
+ method public libcore.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(long, android.icu.util.TimeZone, int, boolean);
+ method public libcore.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(long, android.icu.util.TimeZone, int);
}
public static final class CountryTimeZones.OffsetResult {