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

Commit 12c11b53 authored by Yu Shan's avatar Yu Shan
Browse files

Update doc for GLOVE_BOX_DOOR_POS.

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.

This CL also updates the metadata file.

Test: None
Bug: 383184445
Flag: EXEMPT no code change
Change-Id: I79946e5b325844d22968047e39aa34b980b1d4ba
parent b3a737dd
Loading
Loading
Loading
Loading
+13 −13

File changed.

Preview size limit exceeded, changes collapsed.

+11 −0
Original line number Diff line number Diff line
@@ -4544,11 +4544,21 @@ enum VehicleProperty {
     * All integers between minInt32Value and maxInt32Value must be supported.
     *
     * The minInt32Value indicates that the glove box door is closed. The minInt32Value must be 0.
     *
     * The maxInt32Value indicates that the glove box door is in the fully open position.
     *
     * Values in between minInt32Value and maxInt32Value indicate a transition state between the
     * closed and fully open positions.
     *
     * If {@code HasSupportedValueInfo} for the global area ID (0) is not {@code null}:
     * {@code HasSupportedValueInfo.hasMinSupportedValue} and
     * {@code HasSupportedValueInfo.hasMaxSupportedValue} must be {@code true}.
     * {@code MinMaxSupportedValueResult.minSupportedValue} has the same meaning as minInt32Value.
     * {@code MinMaxSupportedValueResult.maxSupportedValue} has the same meaning as maxInt32Value.
     * All integers between minSupportedValue and maxSupportedValue must be supported.
     * At boot, minInt32Value is equal to minSupportedValue, maxInt32Value is equal to
     * maxSupportedValue.
     *
     * This property is not in any particular unit but in a specified range of relative positions.
     *
     * The area ID must match the seat by which the glove box is intended to be used  (e.g. if the
@@ -4561,6 +4571,7 @@ enum VehicleProperty {
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ_WRITE
     * @access VehiclePropertyAccess.READ
     * @require_min_max_supported_value
     * @version 2
     */
    GLOVE_BOX_DOOR_POS =