Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e62ebd3 authored by Neil Fuller's avatar Neil Fuller Committed by Gerrit Code Review
Browse files

Merge "More API council tidy up"

parents 9783ecda 0f5e5ce4
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -233,10 +233,6 @@ public class TimeZoneLookupHelper {
            }
            }


            TimeZone timeZone = timeZoneMapping.getTimeZone();
            TimeZone timeZone = timeZoneMapping.getTimeZone();
            if (timeZone == null) {
                continue;
            }

            int candidateOffset = timeZone.getOffset(whenMillis);
            int candidateOffset = timeZone.getOffset(whenMillis);
            if (countryDefaultOffset != candidateOffset) {
            if (countryDefaultOffset != candidateOffset) {
                return true;
                return true;
@@ -308,7 +304,7 @@ public class TimeZoneLookupHelper {
        // be strong consistency across calls.
        // be strong consistency across calls.
        synchronized (this) {
        synchronized (this) {
            if (mLastCountryTimeZones != null) {
            if (mLastCountryTimeZones != null) {
                if (mLastCountryTimeZones.isForCountryCode(isoCountryCode)) {
                if (mLastCountryTimeZones.matchesCountryCode(isoCountryCode)) {
                    return mLastCountryTimeZones;
                    return mLastCountryTimeZones;
                }
                }
            }
            }