Replace ZoneInfoData#getLatestDstSavings with ZoneInfoData#getLatestDstSavingsMillis
Bug: 181661755
Test: m droid
Change-Id: Ia71cb9db48422c136813bfccb1c1ce50c46d1fe3
diff --git a/luni/src/main/java/libcore/util/ZoneInfo.java b/luni/src/main/java/libcore/util/ZoneInfo.java
index edba0d2..32ec445 100644
--- a/luni/src/main/java/libcore/util/ZoneInfo.java
+++ b/luni/src/main/java/libcore/util/ZoneInfo.java
@@ -136,7 +136,7 @@
*/
// VisibleForTesting
public static ZoneInfo createZoneInfo(ZoneInfoData delegate, long timeInMillis) {
- Integer latestDstSavings = delegate.getLatestDstSavings(timeInMillis);
+ Integer latestDstSavings = delegate.getLatestDstSavingsMillis(timeInMillis);
boolean useDst = latestDstSavings != null;
int dstSavings = latestDstSavings == null ? 0 : latestDstSavings;
return new ZoneInfo(delegate, dstSavings, useDst);