summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2015-07-28 16:53:53 -0700
committerAjay Panicker <apanicke@google.com>2015-08-04 15:14:03 -0700
commitb3759712b0ab4ae294731ee5889c2ebd131a156f (patch)
treec9403de521eb69e7d2135569b1af9194a683bf41
parent929e0a194ed989af9b9de62126a962ebf9d191cc (diff)
downloadhardware_libhardware-b3759712b0ab4ae294731ee5889c2ebd131a156f.zip
hardware_libhardware-b3759712b0ab4ae294731ee5889c2ebd131a156f.tar.gz
hardware_libhardware-b3759712b0ab4ae294731ee5889c2ebd131a156f.tar.bz2
Implement Bluetooth settings factory reset (4/5)
Implemented the factory reset function to be used to reset all bluetooth settings on device to factory default Bug: 16161518 Change-Id: I69358db95582ddd0f2f640f76cf0931f797d369b
-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