neard: cancel empty record processing on tag detection 89/19689/3
authorraquel medina <raquel.medina@konsulko.com>
Tue, 22 Jan 2019 17:03:56 +0000 (19:03 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 13 Feb 2019 12:55:15 +0000 (12:55 +0000)
commita4a506023da9ebe77539af167712320a3e0cd850
tree5a364e70ddae17eeccf22c21866e28536a56efb8
parent81179963052d0d2c09d8d722dfc420aee226519c
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>
meta-agl-profile-core/recipes-connectivity/neard/files/0002-ndef-avoid-dbus-property_get_type-method-on-empty-re.patch [new file with mode: 0644]
meta-agl-profile-core/recipes-connectivity/neard/neard_0.16.bbappend