diff options
| author | 2017-07-27 13:24:07 +0000 | |
|---|---|---|
| committer | 2017-07-27 13:24:07 +0000 | |
| commit | 2b923c07a73af0db0922d154fa68b4e36265c761 (patch) | |
| tree | f673fcbb92e85f608a97fc2de9f790d7a7dc8502 /services/java | |
| parent | 701215725eb70cef589c0e15f7a9db489eb9f55d (diff) | |
| parent | 18eb3b4ff16a2db987164fffeb998823be228dcf (diff) | |
Merge "Revert "Default 'persist.sys.timezone' property to GMT if not set on init."" am: 9b9e823096 am: 7dc29d076f
am: 18eb3b4ff1
Change-Id: Id90d02a05413812df90a3691f1f4b8a99e74669b
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 26f3971f4aa1..a2e866c8b650 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -282,15 +282,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 |