summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-06-01 09:41:19 -0700
committerMark Salyzyn <salyzyn@google.com>2015-06-01 14:27:02 -0700
commitfbf96b55d98e9042fe6f240fbcf3103faca8650d (patch)
tree3808da4f0395fe5c2946f975a5f822418e90fbce /libutils/Unicode_test.cpp
parentd4bdb7df9ba0003c69efec53dea3c4d56178fcbf (diff)
logd: KISS & fix preserve a day
(cherry pick from commit 5921276a16528bf79292e828080bf0ec984cbb23) Code in 833a9b1e38ce65f2cdf3ebd095aaa99a92eb9467 was borken, simpler approach is to simply check last entry (to save a syscall) minus EXPIRE_HOUR_THRESHOLD. This does make longer logs less likely to call upon the spam detection than the algorithm being replaced, but sadly we ended up with a log entry in the future at the beginning of the logs confounding the previous algorithm. Bug: 21555259 Change-Id: I04fad67e95c8496521dbabb73b5f32c19d6a16c2
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions