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

Commit f4e95dc5 authored by Matt Buckley's avatar Matt Buckley
Browse files

Make sure processHalResult moves the value correctly

Bug: 317387260
Test: atest libpowermanager_test libsurfaceflinger_unittest libcompositionengine_test
Change-Id: I96560e3c01c79401d7bdbe828f603d760baab5f2
parent 424c520d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ HalResult<T> PowerHalController::processHalResult(HalResult<T>&& result, const c
        mConnectedHal = nullptr;
        mHalConnector->reset();
    }
    return result;
    return std::move(result);
}

HalResult<void> PowerHalController::setBoost(aidl::android::hardware::power::Boost boost,