chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
527 stars 466 forks source link

libmbutil: Fix incorrect return value checking of __system_property_foreach #1352

Closed chenxiaolong closed 5 years ago

chenxiaolong commented 5 years ago

This caused property_iter() to return the opposite status and property_get_all() to return std::nullopt when successful. This broke the setting of legacy properties when flashing from recovery.