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

Commit 066b20d7 authored by Kai's avatar Kai
Browse files

Add comments for some properties.

Descible hebavior for VHAL property set with value out of bounds
Change comments.

Bug: 112204545
Test: build and flash
Change-Id: I48cf2f8dfb8a175992535db17d8f69e8fde1f34c
(cherry picked from commit 2234dc2e4f3d55ea9e8cbb4ec11544ca0207625d)
parent 0cb863b9
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -131,6 +131,9 @@ enum VehiclePropertyGroup : int32_t {
 * When a property's status field is not set to AVAILABLE:
 *  - IVehicle#set may return StatusCode::NOT_AVAILABLE.
 *  - IVehicle#get is not guaranteed to work.
 *
 * Properties set to values out of range must be ignored and no action taken
 * in response to such ill formed requests.
 */
enum VehicleProperty : int32_t {

@@ -243,7 +246,7 @@ enum VehicleProperty : int32_t {
     * Fuel door location
     *
     * @change_mode VehiclePropertyChangeMode:STATIC
     * @data_enum FuelDoorLocationType
     * @data_enum PortLocationType
     * @access VehiclePropertyAccess:READ
     */
    INFO_FUEL_DOOR_LOCATION = (
@@ -267,6 +270,7 @@ enum VehicleProperty : int32_t {

    /**
     * Driver's seat location
     * VHAL implementations must ignore the areaId. Use VehicleArea:GLOBAL.
     *
     * @change_mode VehiclePropertyChangeMode:STATIC
     * @data_enum VehicleAreaSeat