Skip documenttest for automotive

Sdk_gcar_x86 doesn't have documentUI package,
Thus supportsHardware() should return false, then
Document related tests in CtsAppSecurityHostTestCases
Should be skipped.

Bug: 139495480
Test: lunch sdk_gcar_x86-userdebug
Test: atest CtsAppSecurityHostTestCases
Change-Id: Iac52f47d7d6a8d1bac53fd7b3951a0ce0a9fb732
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 afcaae0..6188303 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 @@
     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;