Fix build error 68/322268/1
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Thu, 23 Jan 2025 09:35:09 +0000 (15:05 +0530)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Mon, 7 Apr 2025 06:01:18 +0000 (06:01 +0000)
Change-Id: I0653e6b519354cda2fdc81b65a936549ab0cfaa8
(cherry picked from commit 1e385aceb0182e0e3969dba1ba1470221fcecaed)

lbs-server/src/server.c

index 801f7950ac85a83b7dc8b17ffe55470a1ce2a947..406615cfb2199d3d377c09234a389ed194b6c04d 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 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);