commit | a81e95c52f0a876eb675c142ff54a0c2717d3420 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Oct 25 03:42:27 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Oct 25 03:42:27 2016 +0000 |
tree | 7ef41faaa89f5c35c1e781255fa38b9da1251d43 | |
parent | 5ace61c48538c3abc14b3ceb337dd985dca5c071 [diff] | |
parent | ec0bcf0a924518df777a0ff1e9e6cb07055e3a0f [diff] |
Use hidl_string conversion constructor as test. am: 54813ed7c6 am: ec0bcf0a92 Change-Id: I8ffd31d5c677cc11a117e0bbc8668c70afc2cb16
diff --git a/tests/foo/1.0/default/Foo.cpp b/tests/foo/1.0/default/Foo.cpp index 235a12d..f855f21 100644 --- a/tests/foo/1.0/default/Foo.cpp +++ b/tests/foo/1.0/default/Foo.cpp
@@ -68,10 +68,7 @@ doStuffAndReturnAString_cb _cb) { ALOGI("SERVER(Foo) doStuffAndReturnAString"); - hidl_string s; - s = "Hello, world"; - - _cb(s); + _cb("Hello, world"); return Void(); }