projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07df52e
)
Changed exception of Vibrator::Stop for device op failed.
author
Hokwon Song
<hokwon.song@samsung.com>
Wed, 27 Mar 2013 02:26:54 +0000
(11:26 +0900)
committer
Hokwon Song
<hokwon.song@samsung.com>
Wed, 27 Mar 2013 02:26:54 +0000
(11:26 +0900)
Change-Id: I973ea70a66df91b44cf161b489529095ad9737c9
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/system/FSys_VibratorImpl.cpp
patch
|
blob
|
history
diff --git
a/src/system/FSys_VibratorImpl.cpp
b/src/system/FSys_VibratorImpl.cpp
index
5dfdba5
..
dffe91e
100644
(file)
--- a/
src/system/FSys_VibratorImpl.cpp
+++ b/
src/system/FSys_VibratorImpl.cpp
@@
-168,7
+168,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;