[Humanactivitymonitor] Fixed wrong behaviour of isGestureSupported()
[platform/core/api/webapi-plugins.git] / src / humanactivitymonitor / gesture_manager.cc
index 1168f4b..81737a7 100644 (file)
@@ -223,7 +223,7 @@ PlatformResult GestureManager::IsSupported(const std::string& type, bool* is_sup
   }
 
   int ret = gesture_is_supported(type_e, is_supported);
-  if (GESTURE_ERROR_NONE != ret) {
+  if (GESTURE_ERROR_NONE != ret && GESTURE_ERROR_NOT_SUPPORTED != ret) {
     return LogAndCreateResult(
         getErrorCode(ret), "Checking gesture failed",
         ("Checking gesture failed, error: %d (%s)", ret, get_error_message(ret)));