Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90993f81 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak Committed by android-build-merger
Browse files

Merge "Revert "Default 'persist.sys.timezone' property to GMT if not set on...

Merge "Revert "Default 'persist.sys.timezone' property to GMT if not set on init."" am: 9b9e8230 am: 7dc29d07 am: 18eb3b4f am: 2b923c07
am: 29b8db43

Change-Id: Ie88f814fe61748b8a9ae0cd2cd651ad9e5239fb1
parents 2126882a 29b8db43
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -286,15 +286,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