Set default time before Zygote init to year 2009
There is a Zygote issue that prevents time classes from
initializing properly when the system time is before 2008.
The Daylight Savings Time (DST) is not supported when that happens.
There is a race condition between Zygote init and time_daemon
setting the system time so sometimes the system time seen by Zygote
init is the dafault value (year 1970). This fix sets the time just
before Zygote init to year 2009 and that allows Zygote classes to
initialize.
Google recently has a fix for Zygote init to support time before
2008, (see https://code.google.com/p/android/issues/detail?id=26419),
but that will come in JB_MR2. Till then we need this fix.
CRs-Fixed: 467157
Change-Id: I7e101f576347230f017400b1d41f36eb939acf84
1 file changed