From 5e1b683b2acb0d34cad910f4def7391115f22e64 Mon Sep 17 00:00:00 2001 From: Aaqib Ismail Date: Mon, 6 Feb 2023 07:37:22 -0800 Subject: [PATCH] Add NOT_AVAILABLE_POOR_VISIBILITY to supportedEnumValues Update supportedEnumValues array for ADAS STATE properties with new state. Adjust defaultValue to a more sensible value for ADAS properties. Bug: 267174892 Test: presubmit Change-Id: I2e2c130524156a8ef302ea774ce4dcbfe1260c4a --- .../impl/default_config/config/DefaultProperties.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/automotive/vehicle/aidl/impl/default_config/config/DefaultProperties.json b/automotive/vehicle/aidl/impl/default_config/config/DefaultProperties.json index 313173304f..975ad2bc9c 100644 --- a/automotive/vehicle/aidl/impl/default_config/config/DefaultProperties.json +++ b/automotive/vehicle/aidl/impl/default_config/config/DefaultProperties.json @@ -3166,7 +3166,7 @@ "property": "VehicleProperty::AUTOMATIC_EMERGENCY_BRAKING_STATE", "defaultValue": { "int32Values": [ - "AutomaticEmergencyBrakingState::ENABLED" + "ErrorState::NOT_AVAILABLE_DISABLED" ] }, "areas": [ @@ -3174,6 +3174,7 @@ "areaId": 0, "supportedEnumValues": [ "ErrorState::NOT_AVAILABLE_SAFETY", + "ErrorState::NOT_AVAILABLE_POOR_VISIBILITY", "ErrorState::NOT_AVAILABLE_SPEED_HIGH", "ErrorState::NOT_AVAILABLE_SPEED_LOW", "ErrorState::NOT_AVAILABLE_DISABLED", @@ -3188,7 +3189,7 @@ "property": "VehicleProperty::FORWARD_COLLISION_WARNING_ENABLED", "defaultValue": { "int32Values": [ - 0 + 1 ] } }, @@ -3204,6 +3205,7 @@ "areaId": 0, "supportedEnumValues": [ "ErrorState::NOT_AVAILABLE_SAFETY", + "ErrorState::NOT_AVAILABLE_POOR_VISIBILITY", "ErrorState::NOT_AVAILABLE_SPEED_HIGH", "ErrorState::NOT_AVAILABLE_SPEED_LOW", "ErrorState::NOT_AVAILABLE_DISABLED", @@ -3217,7 +3219,7 @@ "property": "VehicleProperty::BLIND_SPOT_WARNING_ENABLED", "defaultValue": { "int32Values": [ - 0 + 1 ] } }, @@ -3233,6 +3235,7 @@ "areaId": "Constants::MIRROR_DRIVER_LEFT_RIGHT", "supportedEnumValues": [ "ErrorState::NOT_AVAILABLE_SAFETY", + "ErrorState::NOT_AVAILABLE_POOR_VISIBILITY", "ErrorState::NOT_AVAILABLE_SPEED_HIGH", "ErrorState::NOT_AVAILABLE_SPEED_LOW", "ErrorState::NOT_AVAILABLE_DISABLED",