summaryrefslogtreecommitdiffstats
path: root/quickstep
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-09-24 13:13:12 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-09-24 13:13:12 -0700
commitbba8c98de343ff903a70b373e823f69c8d75d8fd (patch)
tree1f90c0e061e2f5534090ec026418ec0251756f0a /quickstep
parent6d5511a42f211c57c0a2f61fb1a29157ba634764 (diff)
parent9b1c1682736a8d722f933322efa4a6bec2a3561c (diff)
downloadpackages_apps_Trebuchet-bba8c98de343ff903a70b373e823f69c8d75d8fd.tar.gz
packages_apps_Trebuchet-bba8c98de343ff903a70b373e823f69c8d75d8fd.tar.bz2
packages_apps_Trebuchet-bba8c98de343ff903a70b373e823f69c8d75d8fd.zip
Removing "Failed to get system health diags" message from fallback tests
am: 9b1c168273 Change-Id: I4528370073f0258e5f0276dfb1d71dae9816ddea
Diffstat (limited to 'quickstep')
-rw-r--r--quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java b/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java
index e5f949b88..b8c00e434 100644
--- a/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java
+++ b/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java
@@ -42,6 +42,7 @@ import androidx.test.uiautomator.UiDevice;
import androidx.test.uiautomator.Until;
import com.android.launcher3.tapl.LauncherInstrumentation;
+import com.android.launcher3.tapl.TestHelpers;
import com.android.launcher3.testcomponent.TestCommandReceiver;
import com.android.launcher3.util.rule.FailureWatcher;
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
@@ -103,6 +104,11 @@ public class FallbackRecentsTest {
}
}
};
+ if (TestHelpers.isInLauncherProcess()) {
+ mLauncher.setSystemHealthSupplier(startTime -> TestCommandReceiver.callCommand(
+ TestCommandReceiver.GET_SYSTEM_HEALTH_MESSAGE, startTime.toString()).
+ getString("result"));
+ }
}
@NavigationModeSwitch(mode = THREE_BUTTON)