Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3fc6a92b authored by Austin Borger's avatar Austin Borger
Browse files

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
parent 604c767a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment