summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyeonghun Lee <kh9090.lee@samsung.com>2016-05-04 15:06:26 +0900
committerKyeonghun Lee <kh9090.lee@samsung.com>2016-05-04 15:07:07 +0900
commit095c06d225b5464998000561d902dcf56bf00e78 (patch)
treec40cf3aff6ac47b7c0c8e21f48e71a0fb1b806e3
parent38d901707ad2f3da69806b87e90d6b46101ecb1b (diff)
downloadmsg-service-095c06d225b5464998000561d902dcf56bf00e78.tar.gz
msg-service-095c06d225b5464998000561d902dcf56bf00e78.tar.bz2
msg-service-095c06d225b5464998000561d902dcf56bf00e78.zip
not set vibration path to avoid immersion's patent
Change-Id: I94c513945b4028bbab69614653194c9fae8961ad Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
-rw-r--r--manager/src/msg-manager-sound.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manager/src/msg-manager-sound.cpp b/manager/src/msg-manager-sound.cpp
index 0879db8..e32cbc5 100644
--- a/manager/src/msg-manager-sound.cpp
+++ b/manager/src/msg-manager-sound.cpp
@@ -583,6 +583,11 @@ void MsgMgrSoundPlayVibration(char *vibrationPath)
}
}
+#if 1
+ ret = feedback_play_type(FEEDBACK_TYPE_VIBRATION, FEEDBACK_PATTERN_MESSAGE);
+ if (ret != FEEDBACK_ERROR_NONE)
+ MSG_MGR_DEBUG("Fail to feedback_play_type");
+#else
if (vibrationPath && strlen(vibrationPath)) {
MSG_MGR_DEBUG("vibrationPath: [%s]", vibrationPath);
ret = feedback_set_resource_path(FEEDBACK_TYPE_VIBRATION, FEEDBACK_PATTERN_MESSAGE, vibrationPath);
@@ -601,6 +606,6 @@ void MsgMgrSoundPlayVibration(char *vibrationPath)
if (ret != FEEDBACK_ERROR_NONE)
MSG_MGR_DEBUG("Fail to feedback_play_type");
}
-
+#endif
MSG_MGR_END();
}