Add logs for debugging 79/197379/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 11 Jan 2019 01:54:40 +0000 (10:54 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 11 Jan 2019 01:58:02 +0000 (10:58 +0900)
Change-Id: Id69b4c7195d03f8a258f849ab8fe8f276d1882fc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/media_key.c

index 2f35571..88cb176 100644 (file)
@@ -170,6 +170,7 @@ int media_key_reserve(media_key_event_cb callback, void *user_data)
 {
        int ret;
 
+       LOGW("Reserve");
        if (callback == NULL) {
                LOGE("[%s] media_key_event_cb callback is NULL", __FUNCTION__);
                return MEDIA_KEY_ERROR_INVALID_PARAMETER;
@@ -205,6 +206,7 @@ int media_key_release(void)
 {
        int ret;
 
+       LOGW("Release");
        if (!_media_key_initialized) {
                LOGI("media key is not reserved");
                return MEDIA_KEY_ERROR_NONE;