Remove INFO_DRIVER_SEAT property check from cts
Skip checking INFO_DRIVER_SEAT because the area ID is wrong(VehicleArea:SEAT) in HAL 2.0,
and will be fixed(VehicleArea:GLOBAL) in later version of HAL
Bug: 160257213
Test: CarPropertyValueTest
Change-Id: Ied9ca010324c2013142e76b85a61346467359afc
diff --git a/tests/tests/car/src/android/car/cts/CarPropertyValueTest.java b/tests/tests/car/src/android/car/cts/CarPropertyValueTest.java
index c658939..917ec99 100644
--- a/tests/tests/car/src/android/car/cts/CarPropertyValueTest.java
+++ b/tests/tests/car/src/android/car/cts/CarPropertyValueTest.java
@@ -17,6 +17,7 @@
import android.car.Car;
import android.car.VehicleAreaType;
+import android.car.VehiclePropertyIds;
import android.car.hardware.CarPropertyConfig;
import android.car.hardware.CarPropertyValue;
import android.car.hardware.property.CarPropertyManager;
@@ -63,6 +64,11 @@
@Test
public void testGetPropertyAreaId() {
for (CarPropertyValue propertyValue : mCarPropertyValues) {
+ // Skip checking INFO_DRIVER_SEAT because the area ID is wrong(VehicleArea:SEAT) in HAL
+ // 2.0, and will be fixed(VehicleArea:GLOBAL) in later version of HAL (b/153502607)
+ if (propertyValue.getPropertyId() == VehiclePropertyIds.INFO_DRIVER_SEAT) {
+ continue;
+ }
int areaId = propertyValue.getAreaId();
CarPropertyConfig cfg = mPropIdToConfig.get(propertyValue.getPropertyId());
if (cfg.isGlobalProperty()) {