sm7325-common: location: update to LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0
This commit is contained in:
parent
95b667c5b9
commit
53b83fdea2
9 changed files with 28 additions and 12 deletions
|
|
@ -3,6 +3,7 @@ LOCAL_PATH := $(call my-dir)
|
|||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libloc_api_v02
|
||||
LOCAL_SANITIZE += $(GNSS_SANITIZE)
|
||||
# activate the following line for debug purposes only, comment out for production
|
||||
#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG)
|
||||
LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib
|
||||
|
|
|
|||
|
|
@ -961,8 +961,6 @@ void LocApiV02 ::
|
|||
(time_info_current.tv_nsec)/1e6;
|
||||
}
|
||||
|
||||
//Use this bit to indicate the injected position source is NLP
|
||||
location.techMask |= LOCATION_TECHNOLOGY_WIFI_BIT;
|
||||
injectPosition(location, onDemandCpi);
|
||||
}
|
||||
|
||||
|
|
@ -1017,11 +1015,7 @@ void LocApiV02::injectPosition(const Location& location, bool onDemandCpi)
|
|||
}
|
||||
|
||||
injectPositionReq.positionSrc_valid = 1;
|
||||
if (LOCATION_TECHNOLOGY_WIFI_BIT & location.techMask) {
|
||||
injectPositionReq.positionSrc = eQMI_LOC_POSITION_SRC_WIFI_V02;
|
||||
} else {
|
||||
injectPositionReq.positionSrc = eQMI_LOC_POSITION_SRC_OTHER_V02;
|
||||
}
|
||||
injectPositionReq.positionSrc = eQMI_LOC_POSITION_SRC_OTHER_V02;
|
||||
|
||||
if (onDemandCpi) {
|
||||
injectPositionReq.onDemandCpi_valid = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue