Increasing wait time to populate suggested apps

Bug: 110103162
Test: ReflectionBasicUiTest
Change-Id: Iee5d4f328bdde93e6d9c2db9869314aa3a8eb00f
diff --git a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
index 4e5cd90..d450366 100644
--- a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
+++ b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
@@ -262,8 +262,8 @@
         });
     }
 
-    // Cannot be used between a Tapl call injecting a gesture and a tapl call expecting the
-    // results of that gesture because the wait can hide flakeness.
+    // Cannot be used in TaplTests between a Tapl call injecting a gesture and a tapl call expecting
+    // the results of that gesture because the wait can hide flakeness.
     protected boolean waitForState(LauncherState state) {
         return waitForLauncherCondition(launcher -> launcher.getStateManager().getState() == state);
     }
@@ -271,12 +271,19 @@
     // Cannot be used in TaplTests after injecting any gesture using Tapl because this can hide
     // flakiness.
     protected boolean waitForLauncherCondition(Function<Launcher, Boolean> condition) {
+        return waitForLauncherCondition(condition, DEFAULT_ACTIVITY_TIMEOUT);
+    }
+
+    // Cannot be used in TaplTests after injecting any gesture using Tapl because this can hide
+    // flakiness.
+    protected boolean waitForLauncherCondition(
+            Function<Launcher, Boolean> condition, long timeout) {
         return Wait.atMost(new Condition() {
             @Override
             public boolean isTrue() {
                 return getFromLauncher(condition);
             }
-        }, DEFAULT_ACTIVITY_TIMEOUT);
+        }, timeout);
     }
 
     /**