OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929e0a1
)
Implement Bluetooth settings factory reset (4/5)
author
Ajay Panicker
<apanicke@google.com>
Tue, 28 Jul 2015 23:53:53 +0000
(16:53 -0700)
committer
Ajay Panicker
<apanicke@google.com>
Tue, 4 Aug 2015 22:14:03 +0000
(15:14 -0700)
Implemented the factory reset function to be used to reset all bluetooth
settings on device to factory default
Bug:
16161518
Change-Id: I69358db95582ddd0f2f640f76cf0931f797d369b
include/hardware/bluetooth.h
patch
|
blob
|
history
diff --git
a/include/hardware/bluetooth.h
b/include/hardware/bluetooth.h
index
da7f4b8
..
3427213
100644
(file)
--- 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