Fix TC-2051 - Prevents further PBAP transfers 94/31894/1 accepted/tizen/ivi/20141212.011413 submit/tizen_ivi/20141211.200836
authorJimmy Huang <jimmy.huang@intel.com>
Thu, 11 Dec 2014 19:52:22 +0000 (11:52 -0800)
committerJimmy Huang <jimmy.huang@intel.com>
Thu, 11 Dec 2014 19:54:22 +0000 (11:54 -0800)
commitee22baf23dfb71e49945f25c1e4853eef456bb5f
tree8907cf7a1ea2b73eb39f9eeb1d3020a4aca61cc5
parentb211c92225347ca7176013ab251502f9263a621f
Fix TC-2051 - Prevents further PBAP transfers

The current phoned never close the obex session for pbap sync
for call history and contacts, this prevents other clients like
syncevolution to start another obex session.  This patch will end
each session after sync is completed, and will re-create another
session when sync is needed, trade off is a little impact on
performance.

Change-Id: Ie9076dd2ca6f01d0502057217ce129b8e0f38433
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
packaging/phoned.changes
src/obex.cpp
src/phone.cpp