Skip to content
Commit 95cf4e70 authored by Boleyn Su's avatar Boleyn Su
Browse files

gpuDrawTime should default to 0 when endTime is unknown

gpuDrawTime should default to 0 when endTime is unknown, otherwise we
will treat nagative duration as infinity in JankTracker::finishGpuDraw.

Test: atest com.android.server.cts.GraphicsStatsValidationTest#testJankyDrawFrame
Bug: b/168262403
Change-Id: I4bb61074e6917ec7ef4af429f48487ae34f8ad0b
parent 97d89af9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment