Fix to VD build error 44/135444/1 accepted/tizen/unified/20170627.015109 submit/tizen/20170622.095709 submit/tizen/20170623.004021 submit/tizen/20170626.095829
authorkj7.sung <kj7.sung@samsung.com>
Thu, 22 Jun 2017 09:29:11 +0000 (18:29 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Thu, 22 Jun 2017 09:29:11 +0000 (18:29 +0900)
Change-Id: I555e0141036c6a5347cc9bc76a355af3c5dd5268
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
location/manager/location-gps.c
location/manager/location-hybrid-mobile.c
location/manager/location-passive.c
location/manager/location-wps.c
location/manager/location.c
packaging/liblbs-location.spec

index bfdf34f..60d746a 100755 (executable)
@@ -670,13 +670,13 @@ static void location_gps_set_property(GObject *object, guint property_id, const
        }
        case PROP_MIN_DISTANCE: {
                gdouble distance = g_value_get_double(value);
-               LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %u", distance);
+               LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %f", distance);
                priv->min_distance = distance;
                break;
        }
        case PROP_SERVICE_STATUS: {
                gint enabled = g_value_get_int(value);
-               LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %u", enabled);
+               LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %d", enabled);
                priv->enabled = enabled;
                break;
        }
index 8878dd4..da74da2 100755 (executable)
@@ -701,7 +701,7 @@ location_hybrid_set_property(GObject *object, guint property_id, const GValue *v
                        }
        case PROP_MIN_DISTANCE: {
                                gdouble distance = g_value_get_double(value);
-                               LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %u", distance);
+                               LOCATION_LOGD("Set prop>> PROP_MIN_DISTANCE: %f", distance);
                                if (distance > 0) {
                                        if (distance < LOCATION_MIN_DISTANCE_MAX)
                                                priv->min_distance = distance;
index c7db7fa..b58d087 100755 (executable)
@@ -362,7 +362,7 @@ static void location_passive_set_property(GObject *object, guint property_id, co
        }
        case PROP_MIN_DISTANCE: {
                gdouble distance = g_value_get_double(value);
-               LOCATION_LOGD("Set prop>> update-min-distance: %u", distance);
+               LOCATION_LOGD("Set prop>> update-min-distance: %f", distance);
                if (distance > 0) {
                        if (distance < LOCATION_MIN_DISTANCE_MAX)
                                priv->min_distance = distance;
@@ -376,7 +376,7 @@ static void location_passive_set_property(GObject *object, guint property_id, co
        }
        case PROP_SERVICE_STATUS: {
                gint enabled = g_value_get_int(value);
-               LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %u", enabled);
+               LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %d", enabled);
                priv->enabled = enabled;
                break;
        }
index a268c4c..2c4d7ed 100755 (executable)
@@ -140,7 +140,7 @@ __set_started(gpointer self, gboolean started)
 static void
 wps_status_cb(gboolean enabled, LocationStatus status, gpointer self)
 {
-       LOCATION_LOGD("status = %d, status");
+       LOC_FUNC_LOG
        g_return_if_fail(self);
        LocationWpsPrivate *priv = GET_PRIVATE(self);
        g_return_if_fail(priv);
@@ -413,7 +413,7 @@ location_wps_set_property(GObject *object, guint property_id, const GValue *valu
                        }
        case PROP_MIN_DISTANCE: {
                                gdouble distance = g_value_get_double(value);
-                               LOCATION_LOGD("Set prop>> update-min-distance: %u", distance);
+                               LOCATION_LOGD("Set prop>> update-min-distance: %f", distance);
                                if (distance > 0) {
                                        if (distance < LOCATION_MIN_DISTANCE_MAX)
                                                priv->min_distance = distance;
@@ -426,7 +426,7 @@ location_wps_set_property(GObject *object, guint property_id, const GValue *valu
                        }
        case PROP_SERVICE_STATUS: {
                                gint enabled = g_value_get_int(value);
-                               LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %u", enabled);
+                               LOCATION_LOGD("Set prop>> PROP_SERVICE_STATUS: %d", enabled);
                                priv->enabled = enabled;
                                break;
                        }
index 9a82d71..9b09046 100755 (executable)
@@ -237,7 +237,7 @@ location_stop_batch(LocationObject *obj)
        g_return_val_if_fail(obj, LOCATION_ERROR_PARAMETER);
        int ret = LOCATION_ERROR_NONE;
        ret = location_ielement_stop_batch(LOCATION_IELEMENT(obj));
-       LOC_IF_FAIL(ret, _E, "Fail to stop_batch [%d]", err_msg(ret));
+       LOC_IF_FAIL(ret, _E, "Fail to stop_batch [%s]", err_msg(ret));
 
        return ret;
 }
index 7bc6b3f..ac47998 100755 (executable)
@@ -1,6 +1,6 @@
 Name: liblbs-location
 Summary: Location Based Service Library
-Version: 1.3.11
+Version: 1.3.12
 Release: 1
 Group: Location/Libraries
 License: Apache-2.0