summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzy <zhenye@broadcom.com>2012-09-14 17:39:17 -0700
committerMatthew Xie <mattx@google.com>2012-09-14 17:47:02 -0700
commit5a77117413149c1cc89b9dc29bf5800c556e93e6 (patch)
tree4a1f17241e1af019e8d3328852bf93423258a23c
parent5df642060edbf3c65693b914f327056d10fe457c (diff)
downloadexternal_bluetooth_bluedroid-5a77117413149c1cc89b9dc29bf5800c556e93e6.zip
external_bluetooth_bluedroid-5a77117413149c1cc89b9dc29bf5800c556e93e6.tar.gz
external_bluetooth_bluedroid-5a77117413149c1cc89b9dc29bf5800c556e93e6.tar.bz2
Save the service uuid when changed
Root cause: the service uuid is cached in memory, it could lost in case device crash or reboot bug 7170559
-rwxr-xr-xbtif/src/btif_storage.c1
1 files changed, 1 insertions, 0 deletions
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: