From 67664dfaccf4b5995d5e368c67f5f2557f3e27ef Mon Sep 17 00:00:00 2001 From: felipeal Date: Thu, 23 Apr 2020 12:53:10 -0700 Subject: [PATCH] Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY. Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587 i 1 i 1 i 2 Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --get 299896587 Bug: 150409351 Change-Id: I5f05c1689abdeeffd1abcd0e85fd01b584501a2e --- .../vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h index ea759867f2..a4ea7cf771 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h @@ -1028,6 +1028,14 @@ const ConfigDeclaration kVehicleProperties[]{ .changeMode = VehiclePropertyChangeMode::ON_CHANGE, }, }, + { + .config = + { + .prop = toInt(VehicleProperty::USER_IDENTIFICATION_ASSOCIATION), + .access = VehiclePropertyAccess::READ_WRITE, + .changeMode = VehiclePropertyChangeMode::ON_CHANGE, + }, + }, }; } // impl