diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-03-14 13:11:12 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-03-17 14:17:38 +0000 |
commit | 09d663229fe253ec91b341c9f15ed7f2d22f931a (patch) | |
tree | fe3aa1e3dcb390fe0f9ef945e533dde0947961dc /libunwindstack/tests/MemoryFileTest.cpp | |
parent | b280bb210b1cbc5a3cc0ab4ba1610a1d31409215 (diff) |
logd: cap how far back in-place sort will go to 5 seconds
Add some deterministic behavior should the user change the hour
backwards when altering the device time, prevent sort-in-place
and cause the logger to land the new entries at the end.
Do not limit how far kernel logs can be sorted.
Test: gTest liblog-unit-tests logd-unit-tests logcat-unit-tests
Bug: 35373582
Change-Id: Ie897c40b97adf1e3996687a0e28c1199c41e0d0c
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions