liblog: don't set socket timeouts in wraping mode
Wrap mode instructs logd to send data to client when log
is about to wrap minimizing client processing. Socket has
to stay connected for a long time possibly 2 hours so
do not set timeouts if wrap mode is on.
Fixes CTS regression.
Bug: 279826009
Test: atest CtsLiblogTestCases
Test result x86_64 CtsLiblogTestCases: Passed: 67, Failed: 0, Ignored: 0, Assumption Failed: 0,
Change-Id: If790208e2438fe5df3be35c5a166d823c66b943b
Signed-off-by: Andrei Diea <adiea@google.com>
1 file changed