From 015709784537755d42ea564a558c0eae5b1d1546 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Thu, 7 Jan 2016 13:21:09 -0800 Subject: [PATCH] logd: wrap timed entry too early, timeout immediately Bug: 26447386 Change-Id: I8d5588831f558061ef21b2a5aeedc865e9ae4cc7 --- logd/FlushCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logd/FlushCommand.cpp b/logd/FlushCommand.cpp index cb3d1c278..48036d340 100644 --- a/logd/FlushCommand.cpp +++ b/logd/FlushCommand.cpp @@ -36,7 +36,7 @@ FlushCommand::FlushCommand(LogReader &reader, mLogMask(logMask), mPid(pid), mStart(start), - mTimeout(timeout) { + mTimeout((start > 1) ? timeout : 0) { } // runSocketCommand is called once for every open client on the