Don't crash on non existent properties

This commit is contained in:
Patrick Nicolas committed 2026-04-03 17:25:07 +02:00
1 parent 6b58b63a33
commit eab4686fb1
1 file changed
+2
+2
View File
@@ -35,6 +35,8 @@ static std::string get_property(const char * property)
{
auto info = __system_property_find(property);
std::string result;
if (not info)
return result;
wrap_lambda cb = [&result](const char * name, const char * value, uint32_t serial) {
result = value;
};