[ITC][capi-maps-srevice][Non-ACR][DPTTIZEN-2750,modified wrong implemented code]
authorjomui <jongmun.woo@samsung.com>
Tue, 21 Feb 2017 07:18:29 +0000 (16:18 +0900)
committerjomui <jongmun.woo@samsung.com>
Tue, 21 Feb 2017 07:18:29 +0000 (16:18 +0900)
Change-Id: Ie8d02345333f17c1ccc3405517da0dfc8db39110
Signed-off-by: jomui <jongmun.woo@samsung.com>
src/itc/capi-maps-service/ITs-capi-maps-service-common.c
src/itc/capi-maps-service/ITs-capi-maps-service-mapzen.c
src/itc/capi-maps-service/ITs-capi-maps-view-mapzen.c

index 5cd426ba86feae6c01ed82903f9c585091720b1c..12697e082012073556a9d4a37f3d306238803de9 100755 (executable)
@@ -514,16 +514,9 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
        }
        if ( false == MapsCheckMapzenPlugin())
        {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call returned mismatch %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
+               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               g_bFeatureNotSupported = true;
+
                return;
        }
        if(nRet != MAPS_ERROR_NONE)
@@ -1170,16 +1163,9 @@ void MapsPlaceHandleHelperMAPZEN(void)
        }
        if ( false == MapsCheckMapzenPlugin())
        {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call returned mismatch %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
+               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               g_bFeatureNotSupported = true;
+
                return;
        }
        if(nRet != MAPS_ERROR_NONE)
index 11f704c83d28e275570743c891167f38ca34027c..efd5653c30231c656736d25fc2c938428256940a 100755 (executable)
@@ -231,16 +231,9 @@ void ITs_maps_service_startup2(void)
        }
        if ( false == MapsCheckMapzenPlugin())
        {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call returned mismatch %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
+               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               g_bFeatureNotSupported = true;
+
                return;
        }
        if ( nRet != MAPS_ERROR_NONE )
index 2ed3ce83a1c75087dc152b82f70085dd4447f56e..2bdb4971ee563372b0fa5b0cac955a024fd35f89 100755 (executable)
@@ -103,16 +103,9 @@ void ITs_maps_view_startup2(void)
        }
        if ( false == MapsCheckMapzenPlugin())
        {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call returned mismatch %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
+               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               g_bFeatureNotSupported = true;
+
                return;
        }
        if ( nRet != MAPS_ERROR_NONE )