summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-11-30 19:31:03 -0500
committerScott Murray <scott.murray@konsulko.com>2020-12-02 01:37:12 +0000
commit5bf7f72d201cd554e0777a41be36e6ce124f82a3 (patch)
treeaa8b3578ce4438c11bed664c97a9410ad6f65601
parent7a767c1026c514e23364385245342c88f28eaa87 (diff)
Add new bluetooth permission to config.xml.in to yield a dependency on the systemd bluetooth.target target, this helps avoids some of the races observed with BlueZ start up. Since BlueZ seems to start up asynchronously, this change on its own does not fix all race issues, but the additional constraint should make it easier to handle the remaining issues that are seen. Bug-AGL: SPEC-3509 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib47693addf818b58a3577d1dce9cd5dc872a3e80 (cherry picked from commit 494ce56f88fc377e703896723fdd80c26aa64550)
-rw-r--r--conf.d/wgt/config.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in
index aa1f563..eba7297 100644
--- a/conf.d/wgt/config.xml.in
+++ b/conf.d/wgt/config.xml.in
@@ -9,6 +9,7 @@
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:hidden" value="required" />
+ <param name="urn:AGL:permission::public:bluetooth" value="required" />
<param name="urn:AGL:permission::public:no-htdocs" value="required" />
<param name="urn:AGL:permission::system:run-by-default" value="required" />
<param name="urn:AGL:permission::partner:scope-platform" value="required" />