//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
SoundManager::StartAlert(String& contactRingTone)
{
result res = E_FAILURE;
+ IntensityDurationVibrationPattern vibration;
+ vibration.duration = 3000;
+ vibration.intensity = -1;
AppLogDebug("Enter");
if(__pSoundCallSession != null)
{
if (__isVibrateStatusOn == true)
{
//todo: Get the level from settings
- res = __pVibrator->Start(3000,1000,1000);
+ __pVibrator->Start(&vibration, 1, 1000);
}
AppLogDebug("Exit");
return;