diff options
| author | 2017-07-27 13:11:44 +0000 | |
|---|---|---|
| committer | 2017-07-27 13:11:44 +0000 | |
| commit | 7dc29d076fb69cd4a9d6cc1ceaf5a6491c7ebcfb (patch) | |
| tree | a47b8198ad0f635e90c781c4becceb80c41026e8 /services/java | |
| parent | 19d39ee384d3d829c50bc8271af9e1eb3b930b29 (diff) | |
| parent | 9b9e823096ebee3a39e1a3e36b6c6a60f2f38d05 (diff) | |
Merge "Revert "Default 'persist.sys.timezone' property to GMT if not set on init.""
am: 9b9e823096
Change-Id: I54b658a7911d604af79916f92c8406472e3c9ccb
Diffstat (limited to 'services/java')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 909f82db9407..89b996f80a8b 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -278,15 +278,6 @@ public final class SystemServer { SystemClock.setCurrentTimeMillis(EARLIEST_SUPPORTED_TIME); } - // - // Default the timezone property to GMT if not set. - // - String timezoneProperty = SystemProperties.get("persist.sys.timezone"); - if (timezoneProperty == null || timezoneProperty.isEmpty()) { - Slog.w(TAG, "Timezone not set; setting to GMT."); - SystemProperties.set("persist.sys.timezone", "GMT"); - } - // If the system has "persist.sys.language" and friends set, replace them with // "persist.sys.locale". Note that the default locale at this point is calculated // using the "-Duser.locale" command line flag. That flag is usually populated by |