Changes for GPS HAL compilation
Remove dependence on android_runtime and return invalid value if gps daemon is not responding CRs-fixed: 649065 Change-Id: I16dbf1bffe6193114c1da08730f0627377179a2a
This commit is contained in:
parent
fd8712acd2
commit
cd5c8489bc
2 changed files with 1 additions and 2 deletions
|
@ -35,7 +35,6 @@
|
|||
#include <msg_q.h>
|
||||
#include <log_util.h>
|
||||
#include <loc_log.h>
|
||||
#include <android_runtime/AndroidRuntime.h>
|
||||
|
||||
namespace loc_core {
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ static int loc_api_server_proc(void *context)
|
|||
free(p_cmsgbuf);
|
||||
LOC_LOGE("%s:%d] fail receiving msg from gpsone_daemon, retry later\n", __func__, __LINE__);
|
||||
usleep(1000);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
LOC_LOGD("%s:%d] received ctrl_type = %d\n", __func__, __LINE__, p_cmsgbuf->ctrl_type);
|
||||
|
|
Loading…
Reference in a new issue