summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rwxr-xr-xbtif/src/btif_storage.c1
-rw-r--r--test/bluedroidtest/Android.mk2
3 files changed, 4 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 3f42f6a..69261b2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -10,6 +10,8 @@ else
bdroid_CFLAGS := -DHAS_NO_BDROID_BUILDCFG
endif
+bdroid_C_INCLUDES += vendor/broadcom/libbt-vendor/include
+
include $(call all-subdir-makefiles)
# Cleanup our locals
diff --git a/btif/src/btif_storage.c b/btif/src/btif_storage.c
index 1c8023c..d8e96d1 100755
--- a/btif/src/btif_storage.c
+++ b/btif/src/btif_storage.c
@@ -323,6 +323,7 @@ static int prop2cfg(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop)
strcat(value, " ");
}
btif_config_set_str("Remote", bdstr, BTIF_STORAGE_PATH_REMOTE_SERVICE, value);
+ btif_config_save();
break;
}
default:
diff --git a/test/bluedroidtest/Android.mk b/test/bluedroidtest/Android.mk
index 3c65394..119a896 100644
--- a/test/bluedroidtest/Android.mk
+++ b/test/bluedroidtest/Android.mk
@@ -48,7 +48,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
bluedroidtest.c
-LOCAL_C_INCLUDES :=
+LOCAL_C_INCLUDES := vendor/broadcom/libbt-vendor/include
LOCAL_MODULE_TAGS := eng