From 9820c05f2bb091762f334269f11061467b4ba6ba Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 23 May 2019 16:54:59 -0700 Subject: Removing prediciton loading state Also fixing test flakyness due to delayed prediction loading Bug: 132993129 Bug: 131854153 Change-Id: I85f7afff0e3ee0ca9e40e92e91681f797a0bc2de --- quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'quickstep/tests/src') diff --git a/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java b/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java index c6f7544fe..d9fcf4d97 100644 --- a/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java +++ b/quickstep/tests/src/com/android/quickstep/AppPredictionsUITests.java @@ -68,11 +68,7 @@ public class AppPredictionsUITests extends AbstractQuickStepTest { // Disable app tracker AppLaunchTracker.INSTANCE.initializeForTesting(new AppLaunchTracker()); - PredictionUiStateManager.INSTANCE.initializeForTesting(null); - waitForLauncherCondition("Prediction never had state update", - launcher -> PredictionUiStateManager.INSTANCE.get( - mTargetContext).mDebugHadStateUpdate); mCallback = PredictionUiStateManager.INSTANCE.get(mTargetContext).appPredictorCallback( Client.HOME); -- cgit v1.2.3