diff options
author | Shawn Lee <shiin.lee@samsung.com> | 2013-08-05 20:21:45 +0900 |
---|---|---|
committer | Shawn Lee <shiin.lee@samsung.com> | 2013-08-05 21:01:17 +0900 |
commit | 3a6a66c1b73bb6d57c60e6b9767bf5d893811116 (patch) | |
tree | 0edbb9a8f7403749745134f3e2339bbd216a6087 | |
parent | 4b0a94cd50b509840e00dbc8783bc51016ef2d7d (diff) | |
download | e17-extra-modules-3a6a66c1b73bb6d57c60e6b9767bf5d893811116.tar.gz e17-extra-modules-3a6a66c1b73bb6d57c60e6b9767bf5d893811116.tar.bz2 e17-extra-modules-3a6a66c1b73bb6d57c60e6b9767bf5d893811116.zip |
Added the DLOG message for rotation event.
Change-Id: Ic76270ff776f79f3522721811e243739e7b42176
-rwxr-xr-x | devicemgr/configure.ac | 2 | ||||
-rwxr-xr-x | devicemgr/src/sf_rotation_devicemgr.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/devicemgr/configure.ac b/devicemgr/configure.ac index a0f463a..c1a6036 100755 --- a/devicemgr/configure.ac +++ b/devicemgr/configure.ac @@ -62,7 +62,7 @@ dnl ======================================================================== # checks for pkg-config dnl ======================================================================== #PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, gestureproto, xgesture]) -PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, sensor, vconf]) +PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, sensor, vconf, dlog]) ENLIGHTENMENT_CFLAGS="${ENLIGHTENMENT_CFLAGS} " AC_SUBST(ENLIGHTENMENT_CFLAGS) AC_SUBST(ENLIGHTENMENT_LIBS) diff --git a/devicemgr/src/sf_rotation_devicemgr.c b/devicemgr/src/sf_rotation_devicemgr.c index fb82f91..c7ea3ff 100755 --- a/devicemgr/src/sf_rotation_devicemgr.c +++ b/devicemgr/src/sf_rotation_devicemgr.c @@ -30,6 +30,12 @@ #include "e_devicemgr_privates.h" #include "sf_rotation_devicemgr.h" +#ifdef USE_DLOG +#include "dlog.h" +#undef LOG_TAG +#define LOG_TAG "E17_EXTRA_MODULES" +#endif + typedef struct _E_DM_Sensor_Rotation E_DM_Sensor_Rotation; struct _E_DM_Sensor_Rotation @@ -303,6 +309,9 @@ _sensor_rotation_changed_cb(unsigned int event_type, ang = _ang_get(state); +#ifdef USE_DLOG + SECURE_SLOGD("[ROTATION] SENSOR ROT_CHANGE, state:%d angle:%d", state, ang); +#endif ELBF(ELBT_ROT, 0, 0, "ROT_EV state:%d angle:%d", state, ang); if (ang != -1) |