Merge "Rename method: Drop the "device", it's cleaner"

This commit is contained in:
Treehugger Robot 2022-03-09 17:28:37 +00:00 committed by Gerrit Code Review
commit 9679c6b0c1
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public abstract class VirtualizationTestCaseBase extends BaseHostJUnit4Test {
public static void testIfDeviceIsCapable(ITestDevice androidDevice) throws Exception {
assumeTrue("Need an actual TestDevice", androidDevice instanceof TestDevice);
TestDevice testDevice = (TestDevice) androidDevice;
assumeTrue("Requires VM support", testDevice.deviceSupportsMicrodroid());
assumeTrue("Requires VM support", testDevice.supportsMicrodroid());
}
// Run an arbitrary command in the host side and returns the result