Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed"

This commit is contained in:
Treehugger Robot
2018-06-05 01:15:16 +00:00
committed by Gerrit Code Review

View File

@@ -295,7 +295,7 @@ bool CanvasContext::isSwapChainStuffed() {
// If there's a multi-frameInterval gap we effectively already dropped a frame,
// so consider the queue healthy.
if (swapA.swapCompletedTime - swapB.swapCompletedTime > frameInterval * 3) {
if (std::abs(swapA.swapCompletedTime - swapB.swapCompletedTime) > frameInterval * 3) {
return false;
}