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

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

hidl_test: do not use Return for app errors. am: 1f4fbc07 am: 64281c8b

am: bebece48

Change-Id: Ie5973996685593ed1bf04454bc7e4ddf3789ca06
parents 08ba7e4a bebece48
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;