projects
/
platform
/
core
/
appfw
/
app-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e92f8f
)
Fix bug about setting rotation callback
22/104422/1
accepted/tizen/3.0/common/20161216.122600
accepted/tizen/3.0/ivi/20161216.013431
accepted/tizen/3.0/mobile/20161216.013413
accepted/tizen/3.0/tv/20161216.013422
accepted/tizen/3.0/wearable/20161216.013427
submit/tizen_3.0/20161213.090148
submit/tizen_3.0/20161214.132837
author
Junghoon Park
<jh9216.park@samsung.com>
Tue, 13 Dec 2016 08:54:11 +0000
(17:54 +0900)
committer
Junghoon Park
<jh9216.park@samsung.com>
Tue, 13 Dec 2016 08:54:11 +0000
(17:54 +0900)
Change-Id: I98238c3c2aec18a565c1c40824da1607821951fe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
src/appcore-rotation.c
patch
|
blob
|
history
diff --git
a/src/appcore-rotation.c
b/src/appcore-rotation.c
index
e4227cb
..
5d90526
100644
(file)
--- a/
src/appcore-rotation.c
+++ b/
src/appcore-rotation.c
@@
-128,7
+128,7
@@
static void __changed_cb(sensor_t sensor, unsigned int event_type,
if (rot.callback) {
if (rot.cb_set && rot.mode != m) {
_DBG("[APP %d] Rotation: %d -> %d", getpid(), rot.mode, m);
- rot.callback((void *)&m, m, data);
+ rot.callback((void *)&m, m,
user_
data);
rot.mode = m;
}
}