Updated SEAT_MEMORY_SELECT maxValue documentation.

Specified that maxValue must be equal to (numSeatPositions - 1).

Bug: 262358054
Test: manual build
Change-Id: I41304f5ca0dc4d997543a0f059c7486f179e5526
This commit is contained in:
shrikar 2023-03-03 20:02:06 +00:00
parent 397bfe167c
commit 63aa43987b
3 changed files with 7 additions and 6 deletions

View file

@ -1810,11 +1810,11 @@ enum VehicleProperty : int32_t {
*
* This parameter selects the memory preset to use to select the seat
* position. The minValue is always 0, and the maxValue determines the
* number of seat positions available.
* number of seat positions available (i.e. numSeatPositions - 1).
*
* For instance, if the driver's seat has 3 memory presets, the maxValue
* will be 3. When the user wants to select a preset, the desired preset
* number (1, 2, or 3) is set.
* will be 2. When the user wants to select a preset, the desired preset
* number (0, 1, or 2) is set.
*
* @change_mode VehiclePropertyChangeMode:ON_CHANGE
* @access VehiclePropertyAccess:WRITE

View file

@ -1596,11 +1596,11 @@ enum VehicleProperty {
*
* This parameter selects the memory preset to use to select the seat
* position. The minValue is always 0, and the maxValue determines the
* number of seat positions available.
* number of seat preset memory slots available (i.e. numSeatPresets - 1).
*
* For instance, if the driver's seat has 3 memory presets, the maxValue
* will be 3. When the user wants to select a preset, the desired preset
* number (1, 2, or 3) is set.
* will be 2. When the user wants to select a preset, the desired preset
* number (0, 1, or 2) is set.
*
* @change_mode VehiclePropertyChangeMode.ON_CHANGE
* @access VehiclePropertyAccess.WRITE

View file

@ -936,5 +936,6 @@ b7ce2d87841585551b082fca6d099622e63b7099e0d8013f687ea1a1dc35c4dc android.hardwar
a2fbd9747fbb9ceb8c1090b5a24138312246502d5af0654a8c2b603a9bf521fc android.hardware.gnss@1.0::IGnssCallback
889b59e3e7a59afa67bf19882a44f51a2f9e43b6556ec52baa9ec3efd1ef7fbe android.hardware.camera.device@3.2::types
db37a1c757e2e69b1ec9c75a981a6987bd87a131d92ab6acc00e04d19f374281 android.hardware.automotive.vehicle@2.0::types
997017f581406fca1675d2f612f7ccd73f0d04eadd54bf6212e6cf5971d0872d android.hardware.automotive.vehicle@2.0::types
# There will be no more HIDL HALs. Use AIDL instead.