summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorHidehiko Abe <hidehiko@google.com>2017-03-29 17:41:17 +0900
committerMark Salyzyn <salyzyn@google.com>2017-04-12 14:33:17 -0700
commit352476e1180970d3f676f891fe06a6890d6c7383 (patch)
tree47db0b9714530edd2e3d7fd5ffecc236347001e5 /libcutils/socket_local_server_unix.cpp
parente4e4777fc775447a0cc76c3b23c9920bd6b49631 (diff)
Force set timezone to UTC in logd.
(cherry picked from commit c27f12a3d396f113c5ae09d2f2c8ff7de3f8b551) logd assumes that it is running in UTC time zone. However, if persist.sys.timezone is set at some point later, that affects and confuses logd behavior. To avoid such a case, this CL sets TZ to UTC, which overrides the property's behavior. Test: Ran CtsOsTestCases. Test: gTest liblog-unit-tests, logd-unit-tests and logcat-unit-tests Bug: 33566779 Change-Id: Ib9edd4cb06f019a33aaf8d77d33bd82fdbbda480
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions