OSDN Git Service

Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681
authorAmith Yamasani <yamasani@google.com>
Wed, 28 Apr 2010 20:20:43 +0000 (13:20 -0700)
committerAmith Yamasani <yamasani@google.com>
Wed, 28 Apr 2010 20:20:43 +0000 (13:20 -0700)
commitc4938fd6190e04a454e8a10d4cba95ab6b805e71
treeb7cee0dd0c3b8280e1282fefa4cc237a0434d54e
parent19681af44b7c7494ae8de28dab8aacc3e9d92390
Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681

The SimpleDateFormat was being cached and new timezone not being applied. Make sure
to apply the new timezone to the format object as soon as it changes.

Change-Id: I72abfef2e14cf5db5a6e8cb71b053380b695495c
services/java/com/android/server/status/StatusBarPolicy.java