summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2015-08-05 18:10:36 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-05 18:10:36 +0000
commita7897020c32ec32a14bdcc397230e5ccd4028939 (patch)
tree7d2835d6bfbb91284046ac7bd5e2256c3e3ab779
parent3fabfd8e4c3a66529846e21bc926f01019b6f769 (diff)
parentb3759712b0ab4ae294731ee5889c2ebd131a156f (diff)
downloadhardware_libhardware-a7897020c32ec32a14bdcc397230e5ccd4028939.zip
hardware_libhardware-a7897020c32ec32a14bdcc397230e5ccd4028939.tar.gz
hardware_libhardware-a7897020c32ec32a14bdcc397230e5ccd4028939.tar.bz2
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 da7f4b8..3427213 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