Fix GraphicsStatsValidationTest

spinSleep(x) may only sleep for (x-1+eps) ms before this fix.

Bug: b/171449940
Test: atest com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame
Change-Id: Iaa723cdf10738c46db957514d850f87d13afd4fc
(cherry picked from commit a00489272f71e3500fef3d50d222d5104bf53043)
diff --git a/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/DrawFramesActivity.java b/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/DrawFramesActivity.java
index 8ad117a..4d3ac85 100644
--- a/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/DrawFramesActivity.java
+++ b/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/DrawFramesActivity.java
@@ -121,7 +121,7 @@
 
     private void spinSleep(int durationMs) {
         long until = System.currentTimeMillis() + durationMs;
-        while (System.currentTimeMillis() < until) {}
+        while (System.currentTimeMillis() <= until) {}
     }
 
     private void scheduleDraw() {