diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2018-10-10 16:48:02 +0200 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2018-10-19 15:23:07 +0200 |
commit | 7656285551870fc982e17ee300e3ba57b7cafe8d (patch) | |
tree | f0ed877339b660a2356c478e98affce85fe9a007 /gps/utils/loc_target.cpp | |
parent | 8000c99271d145d4cb7eeff58ae2afe9b03c8970 (diff) |
msm8996-common: gps: Update from LA.UM.7.2.r1-04000-sdm660.0
* The vendor blobs from LA.UM.7.2.r1-04000-sdm660.0 - B2N_sprout:9/PPR1.180610.011/00WW_3_22C
* Update gnsspps from CAF's location repo
Change-Id: I6afc29a05459bf6d1951cb36b746d8cc781bc48f
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'gps/utils/loc_target.cpp')
-rw-r--r-- | gps/utils/loc_target.cpp | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/gps/utils/loc_target.cpp b/gps/utils/loc_target.cpp index b7ba07b..569f3a7 100644 --- a/gps/utils/loc_target.cpp +++ b/gps/utils/loc_target.cpp @@ -27,18 +27,18 @@ * */ +#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include <fcntl.h> #include <errno.h> -#include <cutils/properties.h> +#include <log_util.h> #include "loc_target.h" #include "loc_log.h" -#include <platform_lib_includes.h> +#include <loc_pla.h> #define APQ8064_ID_1 "109" #define APQ8064_ID_2 "153" @@ -206,17 +206,3 @@ detected: LOC_LOGW("HAL: %s returned %d", __FUNCTION__, gTarget); return gTarget; } - -/*Reads the property ro.lean to identify if this is a lean target - Returns: - 0 if not a lean and mean target - 1 if this is a lean and mean target -*/ -int loc_identify_lean_target() -{ - int ret = 0; - char lean_target[PROPERTY_VALUE_MAX]; - property_get("ro.lean", lean_target, ""); - LOC_LOGD("%s:%d]: lean target: %s\n", __func__, __LINE__, lean_target); - return !(strncmp(lean_target, "true", PROPERTY_VALUE_MAX)); -} |