aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cutils/properties.h8
-rw-r--r--libcutils/properties.c5
2 files changed, 12 insertions, 1 deletions
diff --git a/include/cutils/properties.h b/include/cutils/properties.h
index 25fd67ae..8589afcb 100644
--- a/include/cutils/properties.h
+++ b/include/cutils/properties.h
@@ -43,7 +43,13 @@ int property_get(const char *key, char *value, const char *default_value);
/* property_set: returns 0 on success, < 0 on failure
*/
int property_set(const char *key, const char *value);
-
+
+/* property_set_sync: returns 0 on success, < 0 on failure
+**
+** symbol needed for Motorola RILs. Calls property_set
+*/
+int property_set_sync(const char *key, const char *value);
+
int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie);
diff --git a/libcutils/properties.c b/libcutils/properties.c
index f732ec06..9c46b795 100644
--- a/libcutils/properties.c
+++ b/libcutils/properties.c
@@ -36,6 +36,11 @@ int property_set(const char *key, const char *value)
return __system_property_set(key, value);
}
+int property_set_sync(const char *key, const char *value)
+{
+ return __system_property_set(key, value);
+}
+
int property_get(const char *key, char *value, const char *default_value)
{
int len;