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

Commit d76f8458 authored by Aaqib Ismail's avatar Aaqib Ismail
Browse files

Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL

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

Bug: 264336118
Test: presubmit
Change-Id: I28de0aceaabb33647085d80b79da215da4a146cf
parent 16297616
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3457,9 +3457,10 @@ enum VehicleProperty {
     * Set true to enable AEB and false to disable AEB. When AEB is enabled, the ADAS system in the
     * vehicle should be turned on and monitoring to avoid potential collisions.
     *
     * If AEB 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 AEB is
     * not available because the vehicle speed is too low, IVehicle#get must return false.
     * In general, AUTOMATIC_EMERGENCY_BRAKING_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
     * AUTOMATIC_EMERGENCY_BRAKING_STATE property.
     *
     * This property is defined as read_write, but OEMs have the option to implement it as read
     * only.