fix unable to pair with headset having pin '1234' 04/155104/1
authorBiman Paul <biman.paul@samsung.com>
Wed, 11 Oct 2017 09:12:13 +0000 (18:12 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 12 Oct 2017 05:46:19 +0000 (14:46 +0900)
commita58851a2d952c893018a699a2f956e27932f20e0
tree94f9b431eab7687b965817159adae3fc88c32c5a
parent36c15f73c2ba3eddfec7af4afb9e05d4e82b4ce0
fix unable to pair with headset having pin '1234'

[Problem] unable to pair with headset having pin '1234'
[Cause & Measure] For headset, usually default pin is
'0000' and request is Pairing pin is send as '0000'. But
when pin is not '0000' first attempt fails and remote
device BD address is blacklisted(saved in a file) and for
all future requests blacklisted devices are checked and
pin popup is shown.
But here bt-service is unable to write to blacklist file.
Measure:
1. Allow write mode for blacklist file.
2. Give appropriate smack label.

[Checking Method] Use Mecapp:
1. Set COD such as Mecapp is recognised as Headset.
2. Initiate a pairing request to Mecapp.
3. Give pin 1234 or anything other than '0000' in mecapp.

Change-Id: I1aa0e66625601965c889005fbe23813f3ed2903b
Signed-off-by: injun.yang<injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-frwk.spec