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

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

Update doc for EV_STOPPING_MODE.

Part of a large doc update. Add doc for new supported value range
APIs. For be backward compatible with older VHAL clients still
using deprecated fields, we still require the old fields to be
populated.

Test: None
Bug: 371636116
Flag: EXEMPT no code change
Change-Id: I1503ab3929662347bd2304ecadd3f82d434e86fe
parent b2afcea4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@
                    "EvStoppingMode"
                ],
                "data_enum": "EvStoppingMode",
                "description": "Represents property for the current stopping mode of the vehicle.\nFor the global area ID (0), the VehicleAreaConfig#supportedEnumValues must be defined unless all enum values of EvStoppingMode are supported.\nThe EvStoppingMode enum may be extended to include more states in the future.\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
                "description": "Represents property for the current stopping mode of the vehicle.\nFor the global area ID (0), {@code getSupportedValuesList} must return a {@code SupportedValuesListResult} that contains supported values unless all enum values of EvStoppingMode are supported.\nFor backward compatibility, if {@code SupportedValuesListResult} is defined, {@code VehicleAreaConfig#supportedEnumValues} must be set to the same values.\nThe EvStoppingMode enum may be extended to include more states in the future.\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
            },
            {
                "name": "ELECTRONIC_STABILITY_CONTROL_ENABLED",
+6 −2
Original line number Diff line number Diff line
@@ -821,8 +821,12 @@ enum VehicleProperty {
    /**
     * Represents property for the current stopping mode of the vehicle.
     *
     * For the global area ID (0), the VehicleAreaConfig#supportedEnumValues must be defined unless
     * all enum values of EvStoppingMode are supported.
     * For the global area ID (0), {@code getSupportedValuesList}
     * must return a {@code SupportedValuesListResult} that contains supported values unless all
     * enum values of EvStoppingMode are supported.
     *
     * For backward compatibility, if {@code SupportedValuesListResult} is defined,
     * {@code VehicleAreaConfig#supportedEnumValues} must be set to the same values.
     *
     * The EvStoppingMode enum may be extended to include more states in the future.
     *