fix to send wps signal when fused_running 10/142410/1 accepted/tizen/unified/20170804.132943 submit/tizen/20170804.015443
authorkj7.sung <kj7.sung@samsung.com>
Fri, 4 Aug 2017 01:43:57 +0000 (10:43 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Fri, 4 Aug 2017 01:43:57 +0000 (10:43 +0900)
Change-Id: I8f2fe61e0b6ecbad94a4212e6754e54d58dfd3c9
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
lbs-server/src/lbs_server.c
packaging/lbs-server.spec

index fe9352f..91e8f4d 100644 (file)
@@ -256,7 +256,8 @@ static void nps_update_position(lbs_server_s *lbs_server, NpsManagerPositionExt
        LOG_NPS(DBG_LOW, "time:%d", lbs_server->pos.timestamp);
 
 #ifdef TIZEN_DEVICE
-       send_wps_position_to_fused_engine(pos.timestamp, pos.latitude, pos.longitude, pos.hor_accuracy, pos.ver_accuracy);
+       if (lbs_server->is_fused_running)
+               send_wps_position_to_fused_engine(pos.timestamp, pos.latitude, pos.longitude, pos.hor_accuracy, pos.ver_accuracy);
 #endif
 
        lbs_server_emit_position_changed(lbs_server->lbs_dbus_server, LBS_SERVER_METHOD_NPS,
index bb62af8..5e5cc0a 100644 (file)
@@ -1,6 +1,6 @@
 Name:    lbs-server
 Summary: LBS Server for Tizen
-Version: 1.2.4
+Version: 1.2.5
 Release: 1
 Group:   Location/Service
 License: Apache-2.0