Attempt to fix EventLogTest flakiness.

Bug 3350354

Change-Id: I76da69b1e46142fe25f5547af827465a5af077a1
diff --git a/tests/tests/util/src/android/util/cts/EventLogTest.java b/tests/tests/util/src/android/util/cts/EventLogTest.java
index c803174..43d1b02 100644
--- a/tests/tests/util/src/android/util/cts/EventLogTest.java
+++ b/tests/tests/util/src/android/util/cts/EventLogTest.java
@@ -163,8 +163,8 @@
 
     private long getTime() throws InterruptedException {
         // The precision of currentTimeMillis is poor compared to event timestamps
-        Thread.sleep(20);
-        return System.currentTimeMillis() - 10;
+        Thread.sleep(40);
+        return System.currentTimeMillis() - 20;
     }
 
     private ArrayList<EventLog.Event> getEventsSince(long since, int[] tags) throws IOException {