Merge "Increase dequeueBuffer timeout" into qt-r1-dev

This commit is contained in:
John Reck
2019-07-22 19:18:38 +00:00
committed by Android (Google) Code Review

View File

@@ -148,7 +148,8 @@ void CanvasContext::setSurface(sp<Surface>&& surface) {
if (surface) { if (surface) {
mNativeSurface = new ReliableSurface{std::move(surface)}; mNativeSurface = new ReliableSurface{std::move(surface)};
mNativeSurface->setDequeueTimeout(500_ms); // TODO: Fix error handling & re-shorten timeout
mNativeSurface->setDequeueTimeout(4000_ms);
} else { } else {
mNativeSurface = nullptr; mNativeSurface = nullptr;
} }