Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Zone Changed On DST End (Carrier-Supplied Time) #35

Open
ovacikar opened this issue Nov 4, 2012 · 6 comments
Open

Time Zone Changed On DST End (Carrier-Supplied Time) #35

ovacikar opened this issue Nov 4, 2012 · 6 comments

Comments

@ovacikar
Copy link

ovacikar commented Nov 4, 2012

After the daylight savings end, The clock went back 2 hours instead of 1

Use network provided time zone setting incorrectly shows my time zone to Central Standard Time CST, whereas I am located in Eastern. time zone.

ICS 4.0.4 R9 2012-08-30

@jeffsf
Copy link
Member

jeffsf commented Nov 4, 2012

Similar impact confirmed by several users.

Various US time zones
T-Mobile
KG4, LB6 modems
CM9, AOKP
Also reports on RemICS (CM9-based?), MIUI, Audiophile, slimICS

http://forum.xda-developers.com/showthread.php?t=1973095 -- has some logs potentially suggesting a radio restart? Very weak evidence at this point.

@maxfierke
Copy link
Member

Bug confirmed. This happened to me on LB6.

@Fluidification
Copy link

Confirmed on KJ4

CM9 r8

@fbis251
Copy link
Member

fbis251 commented Nov 5, 2012

There must be something else to this, the problem was not replicated for me
ROM: Team Acid AOKP Milestone 6 build 5.
Modem: LB6
Carrier: T-Mobile
Kernel: Hefe Kernel of Darkness

EDIT
Just to clarify, the time zone on my phone was unchanged (PST) and the time change was only one hour as it should have been.

@Kustomz
Copy link
Member

Kustomz commented Nov 5, 2012

maybe its a kernel issue?

currently using 2.6.35.7-cyanogenmod-ICS-00168-g54d8330 which came with the latest aokp team acid edition. but maybe i'm wrong since jeff uses hefe kod also?

@jeffsf
Copy link
Member

jeffsf commented Nov 5, 2012

Handler is in frameworks/base/services/java/com/android/server/NetworkTimeUpdateService.java

/** Receiver for Nitz time events */
private BroadcastReceiver mNitzReceiver = new BroadcastReceiver() {

    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        if (TelephonyIntents.ACTION_NETWORK_SET_TIME.equals(action)) {
            mNitzTimeSetTime = SystemClock.elapsedRealtime();
        } else if (TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE.equals(action)) {
            mNitzZoneSetTime = SystemClock.elapsedRealtime();
        }
    }
};

Unfortunately that looks like a near noop as I can't see anything being done with mNitz*SetTime

More clues possibly in frameworks/base/telephony/java/com/android/internal/telephony/SamsungRIL.java

Current guess is that the time changed by an hour and it got reflected in both the clock and the timezone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants