OSDN Git Service

Use the newer ZoneInfoDB API.
authorElliott Hughes <enh@google.com>
Fri, 26 Apr 2013 18:30:54 +0000 (11:30 -0700)
committerElliott Hughes <enh@google.com>
Fri, 26 Apr 2013 18:30:54 +0000 (11:30 -0700)
Change-Id: I846c720ae6c262afb4fd7f8a749008c837e76cc4

core/java/android/util/TimeUtils.java

index 5a4f322..33964a0 100644 (file)
@@ -235,7 +235,7 @@ public class TimeUtils {
      * during the lifetime of an activity.
      */
     public static String getTimeZoneDatabaseVersion() {
-        return ZoneInfoDB.getVersion();
+        return ZoneInfoDB.getInstance().getVersion();
     }
 
     /** @hide Field length that can hold 999 days of time */