ImageWriter: increase timeout for BufDetachThread

To make the thread less busy.

Test: partner testing
Bug: 138352615
Change-Id: I1fe247ee33687bde450a819ace484653cf073a07
This commit is contained in:
Yin-Chia Yeh
2019-07-30 13:02:59 -07:00
parent d820cc2e7c
commit edace1ab76

View File

@@ -126,7 +126,7 @@ private:
Condition mCondition;
std::deque<wp<Surface>> mQueue;
static const nsecs_t kWaitDuration = 20000000; // 20 ms
static const nsecs_t kWaitDuration = 500000000; // 500 ms
};
sp<DetachThread> mThread;