summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Huang <calhuang@google.com>2019-09-27 16:57:59 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-09-27 16:57:59 -0700
commitbdc5cbd17d385cce2edeea16cbd4cfe7d11f1ccd (patch)
tree58e8567603bfdbd87d1db5c91c0706824b9526e2
parent45609fc2a1ab94cce0381e64576021c941ee6168 (diff)
parenta5743b1dea4c0d1b0f6047496ff993f0e99571eb (diff)
downloadcts-bdc5cbd17d385cce2edeea16cbd4cfe7d11f1ccd.tar.gz
Merge "Skip documenttest for automotive" into pie-cts-dev
am: a5743b1dea Change-Id: Ie1650b405f5db1c5e9c240bda862d4e42fe0d0b2
-rw-r--r--hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/DocumentsClientTestCase.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/DocumentsClientTestCase.java b/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/DocumentsClientTestCase.java
index afcaae02342..61883033b6d 100644
--- a/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/DocumentsClientTestCase.java
+++ b/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/DocumentsClientTestCase.java
@@ -138,7 +138,8 @@ abstract class DocumentsClientTestCase extends InstrumentationTestCase {
protected boolean supportedHardware() {
final PackageManager pm = getInstrumentation().getContext().getPackageManager();
if (pm.hasSystemFeature("android.hardware.type.television")
- || pm.hasSystemFeature("android.hardware.type.watch")) {
+ || pm.hasSystemFeature("android.hardware.type.watch")
+ || pm.hasSystemFeature("android.hardware.type.automotive")) {
return false;
}
return true;