From: Shawn Lee Date: Mon, 5 Aug 2013 11:21:45 +0000 (+0900) Subject: Added the DLOG message for rotation event. X-Git-Tag: 2.2_release~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F9802%2F2;p=platform%2Fcore%2Fuifw%2Fe17-extra-modules.git Added the DLOG message for rotation event. Change-Id: Ic76270ff776f79f3522721811e243739e7b42176 --- 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)