summaryrefslogtreecommitdiff
path: root/android/cutils
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-03-03 00:50:49 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-04 10:18:27 +0100
commitc088a0f5c60f26441ef8b7418acfc71089e20ff0 (patch)
treec2f8e27c4f443f7811ab71eb22307ee9d4acdf1f /android/cutils
parenta6b131fb47ad84c95e69d73bae60d3c9253a9b0a (diff)
downloadbluez-c088a0f5c60f26441ef8b7418acfc71089e20ff0.tar.gz
android/handsfree: Add support for disabling HSP or HFP AGs
This allows to tune what profiles are supported by handsfree HAL.
Diffstat (limited to 'android/cutils')
-rw-r--r--android/cutils/properties.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/cutils/properties.h b/android/cutils/properties.h
index dff812faa..66a4a8438 100644
--- a/android/cutils/properties.h
+++ b/android/cutils/properties.h
@@ -27,6 +27,14 @@
#include <sys/socket.h>
#include <sys/un.h>
+#define PROPERTY_VALUE_MAX 32
+
+static inline int property_get(const char *key, char *value,
+ const char *default_value)
+{
+ return 0;
+}
+
/* property_set: returns 0 on success, < 0 on failure
*/
static inline int property_set(const char *key, const char *value)