.addAllSupportedLocales(deviceLocales) .setScreenDensity(deviceDensity) .addAllDeviceFeatures(deviceFeatures) .build(); } catch (TimeoutException e) {
public static DeviceSpec deviceFeatures(String... features) { return DeviceSpec.newBuilder().addAllDeviceFeatures(Arrays.asList(features)).build(); }