commit | fa06f3baca62633ee0b38a7719a6d07d6a5ac70a | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Jul 17 11:12:32 2019 -0700 |
committer | Hung-ying Tyan <tyanh@google.com> | Thu Sep 26 02:21:50 2019 +0000 |
tree | 72b871675d8025bee46e82c2753e864386cb474d | |
parent | 37f8bfb2c1ed9bb745c70f2939fb31e5a10042de [diff] [blame] |
Increase dequeueBuffer timeout Timeout recovery isn't working properly, so increase it to avoid any false-positives from something like a slow screen-on Bug: 137509524 Test: none Change-Id: Ic4fae04b41f71600479f9557e334f67c27851db4 Merged-In: Ic4fae04b41f71600479f9557e334f67c27851db4
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index f326ce8..9898a1c 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -148,7 +148,8 @@ if (surface) { mNativeSurface = new ReliableSurface{std::move(surface)}; - mNativeSurface->setDequeueTimeout(500_ms); + // TODO: Fix error handling & re-shorten timeout + mNativeSurface->setDequeueTimeout(4000_ms); } else { mNativeSurface = nullptr; }