summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2015-08-05 18:00:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-05 18:00:51 +0000
commitca76ccfaa0176bad50771e14a1c417db77290654 (patch)
treec571c4fcba57e8526d12420f12311c1c995542b7
parent990d26fd3b669751e1820e9a505ed00ba76c1f33 (diff)
parentb3759712b0ab4ae294731ee5889c2ebd131a156f (diff)
downloadlibhardware-ca76ccfaa0176bad50771e14a1c417db77290654.tar.gz
am b3759712: Implement Bluetooth settings factory reset (4/5)
* commit 'b3759712b0ab4ae294731ee5889c2ebd131a156f': Implement Bluetooth settings factory reset (4/5)
-rw-r--r--include/hardware/bluetooth.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index da7f4b87..3427213d 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -542,6 +542,12 @@ typedef struct {
* Function is synchronous and |fd| is owned by caller.
*/
void (*dump)(int fd);
+
+ /**
+ * Clear /data/misc/bt_config.conf and erase all stored connections
+ */
+ int (*config_clear)(void);
+
} bt_interface_t;
/** TODO: Need to add APIs for Service Discovery, Service authorization and