Relax the timeout in testOverlayState for slower devices.

Bug: 144532336
Test: treehugger
Change-Id: I32146f9241638ea2b701c15e18997d9eafec607e
diff --git a/tests/src/android/cts/statsd/atom/UidAtomTests.java b/tests/src/android/cts/statsd/atom/UidAtomTests.java
index 2d62422..e12f77c 100644
--- a/tests/src/android/cts/statsd/atom/UidAtomTests.java
+++ b/tests/src/android/cts/statsd/atom/UidAtomTests.java
@@ -681,7 +681,7 @@
         createAndUploadConfig(atomTag, false);
 
         runActivity("StatsdCtsForegroundActivity", "action", "action.show_application_overlay",
-                3_000);
+                5_000);
 
         // Sorted list of events in order in which they occurred.
         List<EventMetricData> data = getEventMetricDataList();