Fix bug that checking ime running status when called ime_event_unset_process_input_de... 94/114094/1
authorsungwook79.park <sungwook79.park@samsung.com>
Fri, 10 Feb 2017 04:06:00 +0000 (13:06 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Fri, 10 Feb 2017 04:06:00 +0000 (13:06 +0900)
Change-Id: I759f6881c7d14528ca30c1e4e8d68e58ec7dd7c8
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/inputmethod.cpp

index 6919d3d..9f44c18 100644 (file)
@@ -1972,11 +1972,6 @@ int ime_event_unset_process_input_device_event_cb(void)
 {
     ime_error_e retVal = IME_ERROR_NONE;
 
-    if (!g_running) {
-        LOGW("IME_ERROR_OPERATION_FAILED");
-        return IME_ERROR_OPERATION_FAILED;
-    }
-
     retVal = _check_privilege();
     if (retVal != IME_ERROR_NONE) {
         LOGE("_check_privilege returned %d.", retVal);