Use hidl_string conversion constructor as test.

Test: hidl_test
Change-Id: I626c40e1a3121e4f41ba9f612efc7321f7c03f85
This commit is contained in:
Steven Moreland
2016-10-24 10:46:43 -07:00
parent da32114e26
commit 54813ed7c6

View File

@@ -68,10 +68,7 @@ Return<void> Foo::doStuffAndReturnAString(
doStuffAndReturnAString_cb _cb) {
ALOGI("SERVER(Foo) doStuffAndReturnAString");
hidl_string s;
s = "Hello, world";
_cb(s);
_cb("Hello, world");
return Void();
}