commit | a21d84f11f066315bd1476368d511286d129cb8a | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Feb 16 09:23:45 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Thu Feb 16 19:17:31 2017 +0000 |
tree | 13e0f3afcb956fccaf899e0c3a1ee835a8b8cc56 | |
parent | eba5145c8c4b7ad344bd277616d24dc20343a90f [diff] |
hidl_string: allow null cstr Automatically converting nullptr to empty string rather than erroring. This gets rid of null values at the hal layer (rather than passing them to the server) and simplifies code that would have to check for nulls. Test: libhidl_test Fixes: 35421240 Change-Id: Iada25da5407c3eccdd28704d993ffdee8b15c5fe