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

Commit 37484fc7 authored by shrikar's avatar shrikar
Browse files

Specify additional FUEL_* properties don't apply to EVs in HAL docs

Bug: 329678281
Test: atest CarPropertyManagerTest
Change-Id: I940f55f6d656fc1fc12694a04a6e8f58e0a159f7
parent 24789771
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -87,6 +87,11 @@ enum VehicleProperty {
    /**
    /**
     * Fuel capacity of the vehicle in milliliters
     * Fuel capacity of the vehicle in milliliters
     *
     *
     * This property must communicate the maximum amount of the fuel that can be stored in the
     * vehicle in milliliters. This property does not apply to electric vehicles. That is, if
     * INFO_FUEL_TYPE only contains FuelType::FUEL_TYPE_ELECTRIC, this property must not be
     * implemented. For EVs, implement INFO_EV_BATTERY_CAPACITY.
     *
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @access VehiclePropertyAccess.READ
     * @access VehiclePropertyAccess.READ
     * @unit VehicleUnit.MILLILITER
     * @unit VehicleUnit.MILLILITER