Require that the VPN tests pass on TVs.

The tests were skipped for historical reasons that are no longer
valid, and creates a hole in testing because there are now
several VPN apps that work on TVs.

Test: HostsideVpnTests passes on fugu with UID routing kernel bug fixed
Bug: 36465489
Change-Id: Ib0d6a5cec085e1fc09cf0609b08ca897629afe0c
This commit is contained in:
Lorenzo Colitti
2017-03-23 15:19:52 +09:00
parent 7a94754ea8
commit d3e27e4bf0

View File

@@ -110,8 +110,7 @@ public class VpnTest extends InstrumentationTestCase {
private boolean supportedHardware() {
final PackageManager pm = getInstrumentation().getContext().getPackageManager();
return !pm.hasSystemFeature("android.hardware.type.television") &&
!pm.hasSystemFeature("android.hardware.type.watch");
return !pm.hasSystemFeature("android.hardware.type.watch");
}
@Override