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

Commit 3c265803 authored by Yifei Zhang's avatar Yifei Zhang
Browse files

contexthub: fix a bug in stub hal impl

Test: build & flash
Flag: N/A, stub hal change
Bug: 361830233
Change-Id: I0227ff01302e3d6178019777f6f201aeec94e0b3
parent 4756ccce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -158,8 +158,8 @@ ScopedAStatus ContextHub::getHubs(std::vector<HubInfo>* _aidl_return) {
    vendorHub.version = 42;

    HubInfo hubInfo2 = {};
    hubInfo1.hubId = UINT64_C(0x1234567812345678);
    hubInfo1.hubDetails =
    hubInfo2.hubId = UINT64_C(0x1234567812345678);
    hubInfo2.hubDetails =
            HubInfo::HubDetails::make<HubInfo::HubDetails::Tag::vendorHubInfo>(vendorHub);

    _aidl_return->push_back(hubInfo1);