Increase timeout for reboot to 4 mins.

Some devices may take longer to boot

Bug: 290744661
Test: atest
"CtsStatsdHostTestCases:android.cts.statsd.metric.MetricActivationTests#testRestart"

Change-Id: I3405cdc445d5efa4cb64c99c76fa5f9105571d9e
diff --git a/tests/src/android/cts/statsd/atom/DeviceAtomTestCase.java b/tests/src/android/cts/statsd/atom/DeviceAtomTestCase.java
index 99df717..4403d3c 100644
--- a/tests/src/android/cts/statsd/atom/DeviceAtomTestCase.java
+++ b/tests/src/android/cts/statsd/atom/DeviceAtomTestCase.java
@@ -302,9 +302,9 @@
 
     protected void rebootDeviceAndWaitUntilReady() throws Exception {
         rebootDevice();
-        // Wait for 3 mins.
+        // Wait for 4 mins.
         assertWithMessage("Device failed to boot")
-            .that(getDevice().waitForBootComplete(180_000)).isTrue();
+            .that(getDevice().waitForBootComplete(240_000)).isTrue();
         assertWithMessage("Stats service failed to start")
             .that(waitForStatsServiceStart(60_000)).isTrue();
         Thread.sleep(2_000);