DO NOT MERGE skip MediaStoreUiTest for automotive

Sdk_gcar_x86 doesn't have documentUI package,
Thus supportsHardware() should return false, then
testGetDocumentUri should just return.
Like watch and TV

Bug: 139959923
Test: lunch sdk_gcar_x86-userdebug
Test: android.provider.cts.MediaStoreUiTest#testGetDocumentUri
Change-Id: I4ee567cb52b76df547c30e95982d5405fd14f43a
diff --git a/tests/tests/provider/src/android/provider/cts/MediaStoreUiTest.java b/tests/tests/provider/src/android/provider/cts/MediaStoreUiTest.java
index 9ed199e..9e65d0b 100644
--- a/tests/tests/provider/src/android/provider/cts/MediaStoreUiTest.java
+++ b/tests/tests/provider/src/android/provider/cts/MediaStoreUiTest.java
@@ -267,7 +267,8 @@
 
     private boolean supportsHardware() {
         final PackageManager pm = getInstrumentation().getContext().getPackageManager();
-        return !pm.hasSystemFeature("android.hardware.type.television")
+        return !pm.hasSystemFeature("android.hardware.type.automotive")
+                && !pm.hasSystemFeature("android.hardware.type.television")
                 && !pm.hasSystemFeature("android.hardware.type.watch");
     }