Removing "Failed to get system health diags" message from fallback tests

Now getting diags though the test process that has right permissions.

This doesn't fix other failures in fallback tests.

Bug: 141517004
Change-Id: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
This commit is contained in:
vadimt
2019-09-24 11:48:58 -07:00
committed by Vadim Tryshev
parent 280242e5dd
commit 6096451dbf
@@ -122,6 +122,11 @@ public class FallbackRecentsTest {
}
}
};
if (TestHelpers.isInLauncherProcess()) {
mLauncher.setSystemHealthSupplier(startTime -> TestCommandReceiver.callCommand(
TestCommandReceiver.GET_SYSTEM_HEALTH_MESSAGE, startTime.toString()).
getString("result"));
}
}
@NavigationModeSwitch