Reject new rfcomm connection when DPM disallow it
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] P161013-00685
[Request] PLM
[Occurrence Version] R735AUCU2CPJ3
Code modified according to DPM poliy.
[Problem] After SPP MDM policy is restricted and the device is rebooted,
service daemon cannot create RFCOMM server socket. But it cannot know
when MDM policy is changed to "allowed". So until BT is turned off and
on, related service cannot run.
[Cause & Measure] RFCOMM server socket creation / listen / accept
operations are blocked by MDM. But it is better to block new
connections. So that, service layer doesn't need to consider MDM policy.
[Checking Method] Restrict SPP MDM Policy -> Reboot -> Allow SPP MDM
policy -> Check service (sapd) working state.
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Ie12949dde1f9fc50adb5fb86325de9a7da00fb8f