commit | 1f4fbc079349589e6c8e04040d740df0ca7ee902 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Nov 02 16:50:01 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Nov 02 17:47:46 2016 -0700 |
tree | 2e43b69089eb89c1fe80f2fa2e39f370bc64919b | |
parent | 7c636f8149b2fb3f9112ff533bba9154f9b5c43f [diff] [blame] |
hidl_test: do not use Return for app errors. Test: hidl_test Bug: 31348667 Change-Id: Icc7e926bbb886b040fdea0ff9dee8bedad0860e7
diff --git a/tests/inheritance/1.0/default/Fetcher.cpp b/tests/inheritance/1.0/default/Fetcher.cpp index 28dffaa..74f8d07 100644 --- a/tests/inheritance/1.0/default/Fetcher.cpp +++ b/tests/inheritance/1.0/default/Fetcher.cpp
@@ -23,7 +23,7 @@ if (sendRemote) { toSend = IChild::getService("child"); if (!toSend->isRemote()) { - return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); + toSend = nullptr; } } else { toSend = local;