alarms: fix invalid melody path 05/110705/2
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 17 Jan 2017 13:17:58 +0000 (14:17 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 17 Jan 2017 13:23:58 +0000 (05:23 -0800)
Change-Id: I8b77da21124aa25094db849c56a27b80a20ba1ed

clock/inc/Common/Defines.h
clock/src/Presenter/EditAlarmPresenter.cpp

index 0fea200..572f1ee 100644 (file)
@@ -26,8 +26,6 @@
 #define ARRAY_SIZE(x) sizeof(x)/sizeof(x[0])
 #define DEFAULT_RINGTONE_PATH "ringtones/alarm.mp3"
 
-#define SOUND_DEFAULT "settings/ringtone_sdk.mp3"
-
 #if !defined(PACKAGE)
 #define PACKAGE "org.tizen.clock"
 #endif
index 6aec549..fb6c191 100644 (file)
@@ -56,7 +56,7 @@ view::EditAlarmView::AlarmViewInfo EditAlarmPresenter::GetDefaultInfo() const
        data.snooze = true;
        data.volume = 0.7;
        data.melody = TizenAppUtils::GetResourcePath(
-                                       TizenAppUtils::APP_DIR_RESOURCE, SOUND_DEFAULT);
+                                       TizenAppUtils::APP_DIR_SHARED_RESOURCE, DEFAULT_RINGTONE_PATH);
        data.type = Alarm::Type::SOUND_ONLY;
        data.name = "";