am 087b25f7: am 6e4895b6: Merge "Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681" into froyo
Merge commit '087b25f7e2669497cf217d873437e8726c139abd' into kraken * commit '087b25f7e2669497cf217d873437e8726c139abd': 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