projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa7d82
)
Add logic to start hf-agent when bt is enabled in DA devices
33/301433/1
author
Wootak Jung
<wootak.jung@samsung.com>
Wed, 15 Nov 2023 01:18:21 +0000
(10:18 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Wed, 15 Nov 2023 22:52:49 +0000
(07:52 +0900)
When restarting the bluetooth adapter, hf-agent does not restart after termination.
Change-Id: Ie67312a778582e396d80f8816b03e9b5c215fc5f
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-core/bt-core-adapter.c
patch
|
blob
|
history
diff --git
a/bt-core/bt-core-adapter.c
b/bt-core/bt-core-adapter.c
index
b566e64
..
b094c7b
100644
(file)
--- a/
bt-core/bt-core-adapter.c
+++ b/
bt-core/bt-core-adapter.c
@@
-220,6
+220,15
@@
static int __bt_stack_up(void)
}
}
+ if (TIZEN_FEATURE_DA_REFERENCE) {
+ /* activate bluetooth-hf-agent */
+ ret = __bt_call_systemact_service(BT_SYSTEMACT_HF_AGENT);
+ if (ret < 0) {
+ BT_ERR("Failed to call systemact service");
+ return -1;
+ }
+ }
+
return 0;
}