Merge "Update inheritance test implementation." am: 31fba8cd40

am: 7a5c1b6fda

Change-Id: I213780758114fa5fd8891e8d1b501ae7d9e68929
This commit is contained in:
Steven Moreland
2017-10-03 22:21:44 +00:00
committed by android-build-merger

View File

@@ -1,8 +1,10 @@
#define LOG_TAG "hidl_test"
#include "Parent.h"
#include <log/log.h>
#include "Parent.h"
#include "Child.h"
namespace android {
namespace hardware {
@@ -23,8 +25,11 @@ Return<void> Parent::doParent() {
return Void();
}
IParent* HIDL_FETCH_IParent(const char* name) {
if (name == std::string("child")) {
return new Child();
}
IParent* HIDL_FETCH_IParent(const char* /* name */) {
return new Parent();
}