Fix N_SE-56436 for Screen lock.
[platform/framework/native/appfw.git] / src / system / FSys_VibratorImpl.cpp
index 5dfdba5..55bce7d 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -168,7 +167,7 @@ _VibratorImpl::Stop(void)
        SysTryReturnResult(NID_SYS, __handle != null, E_FAILURE, "_VibratorImpl was not constructed.");
 
        int deviceResult = haptic_stop_all_effects(__handle);
-        SysTryReturnResult(NID_SYS, deviceResult == HAPTIC_ERROR_NONE,E_SYSTEM,
+        SysTryReturnResult(NID_SYS, deviceResult == HAPTIC_ERROR_NONE,E_DEVICE_FAILED,
                 "[E_SYSTEM] Vibration stop operation has failed. [result:%d]", deviceResult);
        SysLog(NID_SYS, "vibrator stopped handle = %d", __handle);
        __effectHandle = null;