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

Commit bebece48 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

Change-Id: I5dd6ebce7113c0022b406d93018a7a5dda7bdbba
parents 16015ba0 64281c8b
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;