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

Commit b40360f7 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Fix lshal cannot be run without root" am: 6481ebfb

am: 8d6362fc

Change-Id: Id188e2657e393b0463c936435d2d8273bc3a80cf
parents c874bf60 8d6362fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) {
    auto boundFunc = std::bind(std::forward<Function>(func),
            interfaceObject.get(), std::forward<Args>(args)...);
    bool success = timeout(IPC_CALL_WAIT, [&ret, &boundFunc] {
        ret = boundFunc();
        ret = std::move(boundFunc());
    });
    if (!success) {
        return Status::fromStatusT(TIMED_OUT);