not set vibration path to avoid immersion's patent 14/68414/2
authorKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 4 May 2016 06:06:26 +0000 (15:06 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 4 May 2016 06:07:07 +0000 (15:07 +0900)
Change-Id: I94c513945b4028bbab69614653194c9fae8961ad
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
manager/src/msg-manager-sound.cpp

index 0879db8..e32cbc5 100644 (file)
@@ -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();
 }