aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend
diff options
context:
space:
mode:
authorraquel medina <raquel.medina@konsulko.com>2019-01-22 19:03:56 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-05 02:05:08 +0000
commit44511e5965ff8176d297eae9284a2170d88bbc52 (patch)
tree0334720f5a4281dd8d07962b98f0c746cfe3eca0 /meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend
parent1c724729f87fcf3849c8247a8f496183bb5a5b1e (diff)
neard: cancel empty record processing on tag detection
neard service clients registered for tag interface call a series of getter methods via dbus. In the case of a tag programmed with a valid NDEF containing an empty record (D0 00 00) no valid dbus string type is associated with the record and the get_type_property call results in a dbus error and neard service exit. This commit offers a workaround to avoid this particular situation while a more comprehensive solution is found (there are other record types that would fall in this same scenario). Bug-AGL: SPEC-2123 Change-Id: I1b6d639bdc2aea0a331e8c06d6eac18da21482f5 Signed-off-by: raquel medina <raquel.medina@konsulko.com> (cherry picked from commit a4a506023da9ebe77539af167712320a3e0cd850)
Diffstat (limited to 'meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend')
-rw-r--r--meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend b/meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend
index 4bca42d94..64a044cb5 100644
--- a/meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend
+++ b/meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend
@@ -1,4 +1,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI_append = "file://0001-systemd-neard-add-multi-user.target-to-neard.service.patch"
+SRC_URI_append = "\
+ file://0001-systemd-neard-add-multi-user.target-to-neard.service.patch \
+ file://0002-ndef-avoid-dbus-property_get_type-method-on-empty-re.patch \
+ "
SYSTEMD_SERVICE_${PN} = "neard.service"