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

Commit b9744a87 authored by Kai Wang's avatar Kai Wang Committed by Automerger Merge Worker
Browse files

Merge "Correct Vehicle properties permissions" into sc-dev am: 91c9697d

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13832054

Change-Id: Ie22652725a1fb1f2ad9e996b0efe97380a8be608
parents 2a4a3e55 91c9697d
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -488,6 +488,14 @@ const ConfigDeclaration kVehicleProperties[]{
                 },
         .initialValue = {.int32Values = {1}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::PARKING_BRAKE_AUTO_APPLY),
                         .access = VehiclePropertyAccess::READ,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                 },
         .initialValue = {.int32Values = {1}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::FUEL_LEVEL_LOW),
@@ -1059,7 +1067,7 @@ const ConfigDeclaration kVehicleProperties[]{
        {.config =
                 {
                         .prop = toInt(VehicleProperty::SUPPORT_CUSTOMIZE_VENDOR_PERMISSION),
                         .access = VehiclePropertyAccess::READ_WRITE,
                         .access = VehiclePropertyAccess::READ,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                         .configArray =
                                 {kMixedTypePropertyForTest,
+2 −2
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ enum VehicleProperty : int32_t {
     * Parking brake state.
     *
     * @change_mode VehiclePropertyChangeMode:ON_CHANGE
     * @access VehiclePropertyAccess:READ_WRITE
     * @access VehiclePropertyAccess:READ
     */
    PARKING_BRAKE_ON = (
        0x0402
@@ -700,7 +700,7 @@ enum VehicleProperty : int32_t {
     * Auto-apply parking brake.
     *
     * @change_mode VehiclePropertyChangeMode:ON_CHANGE
     * @access VehiclePropertyAccess:READ_WRITE
     * @access VehiclePropertyAccess:READ
     */
    PARKING_BRAKE_AUTO_APPLY = (
        0x0403