Fix build error 65/318765/1 tizen
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Thu, 23 Jan 2025 09:35:09 +0000 (15:05 +0530)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Thu, 23 Jan 2025 09:35:09 +0000 (15:05 +0530)
Change-Id: I0653e6b519354cda2fdc81b65a936549ab0cfaa8

lbs-server/src/server.c

index d0ed014946aaecf522edae215f94129044b865f2..b97ced037c8e387dbf5c3067ea1a030ca4015a2e 100755 (executable)
@@ -445,7 +445,7 @@ int request_start_batch_session(int batch_interval, int batch_period)
        display_lock_state(LCD_OFF, STAY_CUR_STATE, 0);
        LOG_GPS(LOG_DEBUG, "display_lock_state(LCD_OFF, STAY_CUR_STATE, 0);");
 
-       status = hal_location_request(GPS_ACTION_START_BATCH, &gps_start_data, &reason_code);
+       status = hal_location_request(HAL_LOCATION_GPS_ACTION_START_BATCH, &gps_start_data, &reason_code);
 
        if (status == FALSE) {
                LOG_GPS(DBG_ERR, "Batch: sending HAL_LOCATION_GPS_ACTION_START_SESSION Fail !");
@@ -483,7 +483,7 @@ int request_stop_batch_session(int batch_interval, int batch_period, int session
                display_unlock_state(LCD_OFF, PM_RESET_TIMER);
                LOG_GPS(DBG_LOW, "display_unlock_state(LCD_OFF, PM_RESET_TIMER);");
 
-               status = hal_location_request(GPS_ACTION_STOP_BATCH, &gps_start_data, &reason_code);
+               status = hal_location_request(HAL_LOCATION_GPS_ACTION_STOP_BATCH, &gps_start_data, &reason_code);
                if (status == TRUE && session_status == 0) {
                        server->session_state = GPS_SESSION_STOPPING;
                        LOG_GPS(DBG_LOW, "==GPSSessionState[%d]", server->session_state);