Add HIDL_FETCH_IScheduleTest declaration

Fix the bug that makes the registerAsServer fail.
sp<IScheduleTest> server =
	IScheduleTest::getService(serviceName, true);
status_t status = server->registerAsService(serviceName);

Bug:38099333
Test: oc-dev on pixel sailfish with a vts test case
  "libhwbinder_latency -i 1"
Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8
This commit is contained in:
Howard Chen
2017-05-08 14:04:05 +08:00
committed by Iliyan Malchev
parent 35ae446548
commit 82ddb247b2

View File

@@ -31,6 +31,8 @@ struct ScheduleTest : public IScheduleTest {
// Methods from ::android::hidl::base::V1_0::IBase follow.
};
extern "C" IScheduleTest* HIDL_FETCH_IScheduleTest(const char* name);
} // namespace implementation
} // namespace V1_0
} // namespace libhwbinder