mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +00:00
Use hidl_string conversion constructor as test.
am: 54813ed7c6
Change-Id: Ic01e8b269f8bfeace73b316683e27af237664c1a
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user