svace : single_request 14/121914/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 accepted/tizen/3.0/common/20170330.125422 accepted/tizen/3.0/ivi/20170330.042822 accepted/tizen/3.0/mobile/20170330.042424 accepted/tizen/3.0/tv/20170330.042627 accepted/tizen/3.0/wearable/20170330.042728 submit/tizen_3.0/20170329.112748
authorkj7.sung <kj7.sung@samsung.com>
Wed, 29 Mar 2017 10:18:28 +0000 (19:18 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Wed, 29 Mar 2017 10:18:28 +0000 (19:18 +0900)
Change-Id: I7f58bc9e717b7f1a47a46b12e3acd59a0652fbfd
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
location/manager/location-gps.c
location/manager/location-wps.c

index 674673d..98be6cb 100755 (executable)
@@ -886,12 +886,11 @@ static gboolean __single_location_timeout_cb(void *data)
 
        LocationPosition *pos = location_position_new(0, 0.0, 0.0, 0.0, LOCATION_STATUS_NO_FIX);
        LocationVelocity *vel = location_velocity_new(0, 0.0, 0.0, 0.0);
-       LocationAccuracy *acc = location_accuracy_new(LOCATION_ACCURACY_LEVEL_NONE, 0.0, 0.0);
 
        if (priv->loc_timeout) g_source_remove(priv->loc_timeout);
        priv->loc_timeout = 0;
 
-       g_signal_emit(self, signals[LOCATION_UPDATED], 0, LOCATION_ERROR_NOT_AVAILABLE, pos, vel, acc);
+       g_signal_emit(self, signals[LOCATION_UPDATED], 0, LOCATION_ERROR_NOT_AVAILABLE, pos, vel, NULL);
        location_gps_stop(self);
 
        return FALSE;
index b615ccf..94f9c5c 100755 (executable)
@@ -618,12 +618,11 @@ static gboolean __single_location_timeout_cb(void *data)
 
        LocationPosition *pos = location_position_new(0, 0.0, 0.0, 0.0, LOCATION_STATUS_NO_FIX);
        LocationVelocity *vel = location_velocity_new(0, 0.0, 0.0, 0.0);
-       LocationAccuracy *acc = location_accuracy_new(LOCATION_ACCURACY_LEVEL_NONE, 0.0, 0.0);
 
        if (priv->loc_timeout) g_source_remove(priv->loc_timeout);
        priv->loc_timeout = 0;
 
-       g_signal_emit(self, signals[LOCATION_UPDATED], 0, LOCATION_ERROR_NOT_AVAILABLE, pos, vel, acc);
+       g_signal_emit(self, signals[LOCATION_UPDATED], 0, LOCATION_ERROR_NOT_AVAILABLE, pos, vel, NULL);
        location_wps_stop(self);
 
        return FALSE;