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

Commit 1f4fbc07 authored by Yifan Hong's avatar Yifan Hong
Browse files

hidl_test: do not use Return for app errors.

Test: hidl_test
Bug: 31348667
Change-Id: Icc7e926bbb886b040fdea0ff9dee8bedad0860e7
parent 7c636f81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ Return<void> selectService(bool sendRemote, CB &_hidl_cb, sp<IChild> &local) {
    if (sendRemote) {
        toSend = IChild::getService("child");
        if (!toSend->isRemote()) {
            return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE);
            toSend = nullptr;
        }
    } else {
        toSend = local;