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

Commit 9ceb2ca1 authored by Yuncheol Heo's avatar Yuncheol Heo
Browse files

Set the intial value of Cluster VHAL.

- This is the cause of the inital empty Cluster VHAL messages.

Bug: 186455827
Test: Check the size of Cluster VHAL arguments by the logcat.
Change-Id: I5703295c163af4bcc27bd7c41ff32eafcffcead3
parent b70c6adc
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1245,6 +1245,7 @@ const ConfigDeclaration kVehicleProperties[]{
                                .access = VehiclePropertyAccess::READ,
                                .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                        },
                .initialValue = {.int32Values = {0 /* ClusterHome */, -1 /* ClusterNone */}},
        },
        {
                .config =
@@ -1253,6 +1254,8 @@ const ConfigDeclaration kVehicleProperties[]{
                                .access = VehiclePropertyAccess::READ,
                                .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                        },
                .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */,
                                                 -1, -1, -1, -1 /* Insets */}},
        },
        {
                .config =
@@ -1305,6 +1308,9 @@ const ConfigDeclaration kVehicleProperties[]{
                                .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                                .configArray = {0, 0, 0, 11, 0, 0, 0, 0, 16},
                        },
                .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */,
                                                 -1, -1, -1, -1 /* Insets */,
                                                 0 /* ClusterHome */, -1 /* ClusterNone */}},
        },
        {
                .config =
@@ -1313,6 +1319,7 @@ const ConfigDeclaration kVehicleProperties[]{
                                .access = VehiclePropertyAccess::READ,
                                .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                        },
                .initialValue = {.int32Values = {0 /* ClusterHome */}},
        },
        {
                .config =