Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7763e42 authored by Yu Shan's avatar Yu Shan
Browse files

Update GsrComplianceRequirementType.

Update the name according to Car Service definition.

Test: m android.hardware.automotive.vehicle-update-api
Bug: 237005566
Change-Id: Idbc24b7b9e8b5d697d0921b79f5b903345f2cc7e
parent c85203e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,5 +35,5 @@ package android.hardware.automotive.vehicle;
@Backing(type="int") @VintfStability
enum GsrComplianceRequirementType {
  GSR_COMPLIANCE_NOT_REQUIRED = 0,
  GSR_COMPLIANCE_REQUIRED_THROUGH_SYSTEM_IMAGE = 1,
  GSR_COMPLIANCE_REQUIRED_V1 = 1,
}
+3 −2
Original line number Diff line number Diff line
@@ -27,8 +27,9 @@ enum GsrComplianceRequirementType {
     * GSR compliance is not required.
     */
    GSR_COMPLIANCE_NOT_REQUIRED = 0,

    /**
     * GSR compliance is required through system image.
     * GSR compliance is required and the requirement solution version is 1.
     */
    GSR_COMPLIANCE_REQUIRED_THROUGH_SYSTEM_IMAGE = 1,
    GSR_COMPLIANCE_REQUIRED_V1 = 1,
}
+1 −1
Original line number Diff line number Diff line
@@ -2253,7 +2253,7 @@
            "property": "VehicleProperty::GENERAL_SAFETY_REGULATION_COMPLIANCE_REQUIREMENT",
            "defaultValue": {
                "int32Values": [
                    "GsrComplianceRequirementType::GSR_COMPLIANCE_REQUIRED_THROUGH_SYSTEM_IMAGE"
                    "GsrComplianceRequirementType::GSR_COMPLIANCE_REQUIRED_V1"
                ]
            }
        }