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

Commit 3fcc5f2e authored by Yu Shan's avatar Yu Shan Committed by Automerger Merge Worker
Browse files

Merge "Make sure the VehiclePropValue object is initialized" into main am:...

Merge "Make sure the VehiclePropValue object is initialized" into main am: c61a19bc am: eb9c7af3 am: 7dda5ff2

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



Change-Id: I709cb2ebd6f4223cf660c13a93ff214156e91b0e
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1b2cf829 7dda5ff2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ namespace V2_0 {

std::unique_ptr<VehiclePropValue> createVehiclePropValue(
    VehiclePropertyType type, size_t vecSize) {
    auto val = std::unique_ptr<VehiclePropValue>(new VehiclePropValue);
    auto val = std::unique_ptr<VehiclePropValue>(new VehiclePropValue());
    switch (type) {
        case VehiclePropertyType::INT32:      // fall through
        case VehiclePropertyType::INT32_VEC:  // fall through