diff options
author | Junghoon Park <jh9216.park@samsung.com> | 2016-12-13 17:54:11 +0900 |
---|---|---|
committer | Junghoon Park <jh9216.park@samsung.com> | 2016-12-13 17:54:11 +0900 |
commit | d7c2b92cd7efbeee7d8f019585cf48c2f4664bb6 (patch) | |
tree | 02749a242495a33b28b4a771f8492878fc6cd522 | |
parent | 2e92f8f0b291c2b310ea290be48f324fbfd32954 (diff) | |
download | app-core-d7c2b92cd7efbeee7d8f019585cf48c2f4664bb6.tar.gz app-core-d7c2b92cd7efbeee7d8f019585cf48c2f4664bb6.tar.bz2 app-core-d7c2b92cd7efbeee7d8f019585cf48c2f4664bb6.zip |
Fix bug about setting rotation callbacksubmit/tizen_3.0/20161214.132837submit/tizen_3.0/20161213.090148accepted/tizen/3.0/wearable/20161216.013427accepted/tizen/3.0/tv/20161216.013422accepted/tizen/3.0/mobile/20161216.013413accepted/tizen/3.0/ivi/20161216.013431accepted/tizen/3.0/common/20161216.122600
Change-Id: I98238c3c2aec18a565c1c40824da1607821951fe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
-rw-r--r-- | src/appcore-rotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appcore-rotation.c b/src/appcore-rotation.c index e4227cb..5d90526 100644 --- 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; } } |