diff options
author | Gwangbok Kim <gwangbok.kim@samsung.com> | 2013-07-01 18:01:13 +0900 |
---|---|---|
committer | Gwangbok Kim <gwangbok.kim@samsung.com> | 2013-07-01 19:26:38 +0900 |
commit | 12e63500e54f732feebf0c4da1a8c7b6459144e5 (patch) | |
tree | f89c25073faecd15251627794c9aa6c9847f0601 | |
parent | ac9fbbfea1c4ec590e718b89ae2e5fd8badaaf65 (diff) | |
download | social-12e63500e54f732feebf0c4da1a8c7b6459144e5.tar.gz social-12e63500e54f732feebf0c4da1a8c7b6459144e5.tar.bz2 social-12e63500e54f732feebf0c4da1a8c7b6459144e5.zip |
fix TC failure
Change-Id: I41b0dc22346b7760d702e92ffe3b9e6e41ee08bc
Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
-rw-r--r-- | src/FSclReminder.cpp | 10 | ||||
-rw-r--r-- | src/FScl_ContactImpl.cpp | 7 |
2 files changed, 17 insertions, 0 deletions
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: { |