1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-27 00:37:08 +00:00
termux-packages/packages/aapt/libcutils-properties.cpp.patch
2022-02-08 10:26:57 +09:00

18 lines
480 B
Diff

--- a/core/libcutils/properties.cpp
+++ b/core/libcutils/properties.cpp
@@ -106,6 +106,7 @@
data->callback(name, value, data->cookie);
}
+#if defined __ANDROID__ && __ANDROID_API__ >= 26
static void property_list_callback(const prop_info* pi, void* data) {
__system_property_read_callback(pi, trampoline, data);
}
@@ -114,5 +115,6 @@
callback_data data = {fn, cookie};
return __system_property_foreach(property_list_callback, &data);
}
+#endif
#endif