Add logs for debugging
[platform/core/api/media-key.git] / 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;