am 6e4895b6: Merge "Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681" into froyo
Merge commit '6e4895b63aa64a8df64dd69c49a414b7566932d3' into froyo-plus-aosp * commit '6e4895b63aa64a8df64dd69c49a414b7566932d3': Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681
This commit is contained in:
@@ -361,6 +361,9 @@ public class StatusBarPolicy {
|
|||||||
else if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {
|
else if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {
|
||||||
String tz = intent.getStringExtra("time-zone");
|
String tz = intent.getStringExtra("time-zone");
|
||||||
mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
|
mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
|
||||||
|
if (mClockFormat != null) {
|
||||||
|
mClockFormat.setTimeZone(mCalendar.getTimeZone());
|
||||||
|
}
|
||||||
updateClock();
|
updateClock();
|
||||||
}
|
}
|
||||||
else if (action.equals(Intent.ACTION_ALARM_CHANGED)) {
|
else if (action.equals(Intent.ACTION_ALARM_CHANGED)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user