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

Skip to content
Commit c8ce0435 authored by Neil Fuller's avatar Neil Fuller
Browse files

Correct a misunderstanding of the NITZ spec

The NITZ spec doesn't give units for the DST offset
component of the full offset. It turns out the value
can only be for one or two hours which apparently
is taken literally as "number of hours", not specified
in quarter hours like the full offset.

The actual value is not used anywhere currently: we
just check for "was the value provided" and "is value
!= 0". This means that the logic won't change, just
the absolute value / scaling value is being corrected
and logcat will show correct information.

Bug: 112043518
Test: atest com.android.internal.telephony.NitzDataTest
Test: atest com.android.internal.telephony.TimeZoneLookupHelperTest
Change-Id: I1d40225641aa8406090d19cba7d679294067c206
parent c5b8de5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment