commit | 3fc6a92bb024412a0481b78f9bdacdf0ae0f83ff | [log] [tgz] |
---|---|---|
author | Austin Borger <borgera@google.com> | Fri Aug 25 18:58:03 2023 -0700 |
committer | Austin Borger <borgera@google.com> | Fri Aug 25 19:25:40 2023 -0700 |
tree | ede06e5b56c27802ef571714d096c8306ab2d09f | |
parent | 604c767a0ab2f98b3eb252458bc940909f4471f4 [diff] |
cameraserver: Use String8/String16 constructor conversions. std::wstring_convert is deprecated and throws an exception, which we can't catch (exceptions are banned). The patch replaces it with the String8 / String16 constructors when converting from UTF-16 to std::string. Test: Ran fuzzers Bug: 289467990, 289450759 Change-Id: Id956570cc85f22c81546eaf1aeb1e428c0a927a3