projects
/
framework
/
osp
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f3aaa
)
fix crash for vibration feature
author
Seongjun Yim
<se201.yim@samsung.com>
Sun, 14 Apr 2013 08:54:49 +0000
(17:54 +0900)
committer
Seongjun Yim
<se201.yim@samsung.com>
Sun, 14 Apr 2013 08:54:49 +0000
(17:54 +0900)
Change-Id: If26cfe88b29bea895c45495cab82eca4069dd28c
Signed-off-by: Seongjun Yim <se201.yim@samsung.com>
src/controls/FWebCtrl_WebImpl.cpp
patch
|
blob
|
history
diff --git
a/src/controls/FWebCtrl_WebImpl.cpp
b/src/controls/FWebCtrl_WebImpl.cpp
index
bd18e20
..
fa6932f
100755
(executable)
--- a/
src/controls/FWebCtrl_WebImpl.cpp
+++ b/
src/controls/FWebCtrl_WebImpl.cpp
@@
-4240,11
+4240,9
@@
_WebImpl::VibrationRequested(uint64_t duration)
__pVibrator = std::move(pVibrator);
- IntensityDurationVibrationPattern pattern;
- pattern.duration = static_cast< int >(duration);
- pattern.intensity = -1;
+ IntensityDurationVibrationPattern pattern = {static_cast< int >(duration), -1};
- r = pVibrator->Start(&pattern, 1, 1);
+ r =
__
pVibrator->Start(&pattern, 1, 1);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
return E_SUCCESS;