From 46770129126cbb68ca1f36cfa125aa65f6c40999 Mon Sep 17 00:00:00 2001 From: Tyler Trephan Date: Mon, 25 Apr 2022 22:58:59 +0000 Subject: [PATCH] Added supportedAreas for CRITICALLY_LOW_TIRE_PRESSURE Test: atest CarPropertyManagerTest Fix: 230386029 Change-Id: Idbd07a361f11b6b616c11ef2c359b656012b40cc --- .../vehicle/aidl/impl/default_config/include/DefaultConfig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h b/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h index 5a579f1e5e..e00f775a04 100644 --- a/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +++ b/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h @@ -400,6 +400,10 @@ const std::vector kVehicleProperties = { .prop = toInt(VehicleProperty::CRITICALLY_LOW_TIRE_PRESSURE), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::STATIC, + .areaConfigs = {VehicleAreaConfig{.areaId = WHEEL_FRONT_LEFT}, + VehicleAreaConfig{.areaId = WHEEL_FRONT_RIGHT}, + VehicleAreaConfig{.areaId = WHEEL_REAR_RIGHT}, + VehicleAreaConfig{.areaId = WHEEL_REAR_LEFT}}, }, .initialAreaValues = {{WHEEL_FRONT_LEFT, {.floatValues = {137.0f}}}, {WHEEL_FRONT_RIGHT, {.floatValues = {137.0f}}},