Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user