diff options
| author | 2017-07-26 12:12:43 +0000 | |
|---|---|---|
| committer | 2017-07-27 10:37:55 +0000 | |
| commit | 27c461ab3c683ecb9cce7a0b1950672371b3079f (patch) | |
| tree | 02cf75fd1093ed4bc51e4f156412a1955a74ebe7 /services/java | |
| parent | f44ebf5fcba4dc5f7021a3b72a8f26b11ae23db2 (diff) | |
Revert "Default 'persist.sys.timezone' property to GMT if not set on init."
Telephony code depends on persist.sys.timezone not being set as a signal
to deduce a timezone from sim card information.
This reverts commit 20e020536ebf999c4acb759960ae6e4bfff6ba67.
Bug: 64056758
Change-Id: I8db204bcffbdb960124b1ae0e02d53b27dd310a4
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 99ad00b65d18..ca2b89ee3194 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -241,15 +241,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 |