Test application moved to location package 46/136246/1 accepted/tizen/unified/20170703.064253 accepted/tizen/unified/20170717.021050 submit/tizen/20170703.004819 submit/tizen/20170713.072054 submit/tizen/20170713.072537
authorkj7.sung <kj7.sung@samsung.com>
Thu, 29 Jun 2017 00:45:40 +0000 (09:45 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Thu, 29 Jun 2017 00:45:40 +0000 (09:45 +0900)
Change-Id: I3265927d0a0510f81ab13abc18df7141bb9c808c
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
packaging/capi-location-manager.spec
src/locations.c

index 62a9ced..0471324 100644 (file)
@@ -1,6 +1,6 @@
 Name: capi-location-manager
 Summary: A Location Manager library in Tizen Native API
-Version: 0.7.7
+Version: 0.7.8
 Release: 1
 Group: Location/API
 License: Apache-2.0
@@ -57,6 +57,7 @@ rm -rf %{buildroot}
 %manifest %{name}.manifest
 %license LICENSE
 %{_libdir}/libcapi-location-manager.so.*
+%{_bindir}/location_test
 
 %files devel
 %{_includedir}/location/*.h
@@ -64,7 +65,7 @@ rm -rf %{buildroot}
 %{_libdir}/libcapi-location-manager.so
 
 
-%if 1
+%if 0
 %package test
 Summary:    Test application of Location Manager
 Group:      Location/Testing
index 6c2d8a0..eb53c24 100755 (executable)
@@ -245,10 +245,7 @@ static void __cb_zone_in(GObject *self, gpointer boundary, gpointer position, gp
        if (handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY]) {
                LocationPosition *pos = (LocationPosition *) position;
                ((location_zone_changed_cb) handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY])(LOCATIONS_BOUNDARY_IN,
-                                                                                                                                                                       pos->latitude, pos->longitude,
-                                                                                                                                                                       pos->altitude, pos->timestamp,
-                                                                                                                                                                       handle->user_data
-                                                                                                                                                                       [_LOCATIONS_EVENT_TYPE_BOUNDARY]);
+                                               pos->latitude, pos->longitude, pos->altitude, pos->timestamp, handle->user_data[_LOCATIONS_EVENT_TYPE_BOUNDARY]);
        }
 
        location_bounds_s *bounds;
@@ -274,10 +271,7 @@ static void __cb_zone_out(GObject *self, gpointer boundary, gpointer position, g
        if (handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY]) {
                LocationPosition *pos = (LocationPosition *) position;
                ((location_zone_changed_cb) handle->user_cb[_LOCATIONS_EVENT_TYPE_BOUNDARY])(LOCATIONS_BOUNDARY_OUT,
-                                                                                                                                                                       pos->latitude, pos->longitude,
-                                                                                                                                                                       pos->altitude, pos->timestamp,
-                                                                                                                                                                       handle->user_data
-                                                                                                                                                                       [_LOCATIONS_EVENT_TYPE_BOUNDARY]);
+                                               pos->latitude, pos->longitude, pos->altitude, pos->timestamp, handle->user_data[_LOCATIONS_EVENT_TYPE_BOUNDARY]);
        }
 
        location_bounds_s *bounds;