From: Gwangbok Kim Date: Mon, 1 Jul 2013 09:01:13 +0000 (+0900) Subject: fix TC failure X-Git-Tag: submit/tizen_2.2/20130714.153047~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12e63500e54f732feebf0c4da1a8c7b6459144e5;p=framework%2Fosp%2Fsocial.git fix TC failure Change-Id: I41b0dc22346b7760d702e92ffe3b9e6e41ee08bc Signed-off-by: Gwangbok Kim --- diff --git a/src/FSclReminder.cpp b/src/FSclReminder.cpp index f10d60c..d4d001f 100644 --- a/src/FSclReminder.cpp +++ b/src/FSclReminder.cpp @@ -135,6 +135,16 @@ Reminder::GetMinutesBefore(void) const String Reminder::GetSoundFile(void) const { + if (_AppInfo::GetApiVersion() == _API_VERSION_2_0 && _AppInfo::IsOspCompat()) + { + String tmpFilePath; + _FileImpl::ConvertPhysicalToVirtualPath(__soundFilePath, tmpFilePath); + + ClearLastResult(); + + return tmpFilePath; + } + return __soundFilePath; } diff --git a/src/FScl_ContactImpl.cpp b/src/FScl_ContactImpl.cpp index 42b9003..f780275 100644 --- a/src/FScl_ContactImpl.cpp +++ b/src/FScl_ContactImpl.cpp @@ -481,6 +481,13 @@ _ContactImpl::GetValue(const ContactPropertyId id, String& value) const case CONTACT_PROPERTY_ID_RINGTONE: contacts_record_get_str_p(__contactHandle, _contacts_contact.ringtone_path, &pCharValue); value = pCharValue; + + if (_AppInfo::GetApiVersion() == _API_VERSION_2_0 && _AppInfo::IsOspCompat()) + { + String temp; + _FileImpl::ConvertPhysicalToVirtualPath(pCharValue, temp); + value = temp; + } break; case CONTACT_PROPERTY_ID_THUMBNAIL: {