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

Commit 326c88dd authored by Aaqib Ismail's avatar Aaqib Ismail
Browse files

Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL

Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946034
Test: presubmit
Change-Id: I720dd691bc859d3113fa48f0f5b9a0b4a909d952
parent d76f8458
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3499,9 +3499,10 @@ enum VehicleProperty {
     * Set true to enable FCW and false to disable FCW. When FCW is enabled, the ADAS system in the
     * vehicle should be turned on and monitoring for potential collisions.
     *
     * If FCW is not available, IVehicle#get must not return any NOT_AVAILABLE value in StatusCode.
     * Other StatusCode values like TRY_AGAIN may still be used as needed. For example, if FCW is
     * not available because the vehicle speed is too low, IVehicle#get must return false.
     * In general, FORWARD_COLLISION_WARNING_ENABLED should always return true or false. If the
     * feature is not available due to some temporary state, such as the vehicle speed being too
     * low, that information must be conveyed through the ErrorState values in the
     * FORWARD_COLLISION_WARNING_STATE property.
     *
     * This property is defined as read_write, but OEMs have the option to implement it as read
     * only.