summaryrefslogtreecommitdiff
path: root/utils/loc_target.cpp
diff options
context:
space:
mode:
authorDongmei Wang <dongme@codeaurora.org>2014-12-02 18:39:10 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-12-05 15:15:33 -0800
commit836bdc4386232b3a86d062f89f3093845d05cb29 (patch)
treeeca28ce187f928bfdaa7291bd7254d9f2c0cad76 /utils/loc_target.cpp
parent42c543919b189a758445dc1fd59030e735ad30ec (diff)
downloadgps-836bdc4386232b3a86d062f89f3093845d05cb29.tar.gz
loc-pla: Create Platform Library Abstraction layer
Defined PLA functions to enable gps libraries to call platform-dependent library calls transparantly. Removed fake files and replaced the fake function with defined PLA functions. CRs-fixed: 605817 Change-Id: I677f658001329a10ef9b49bd963631a83fb4c85f
Diffstat (limited to 'utils/loc_target.cpp')
-rw-r--r--utils/loc_target.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/loc_target.cpp b/utils/loc_target.cpp
index 5eff171..b5a6297 100644
--- a/utils/loc_target.cpp
+++ b/utils/loc_target.cpp
@@ -38,7 +38,6 @@
#include <cutils/properties.h>
#include "loc_target.h"
#include "loc_log.h"
-#include "log_util.h"
#include <platform_lib_includes.h>
#define APQ8064_ID_1 "109"
@@ -109,7 +108,7 @@ static bool is_qca1530(void)
for (i = 0; i < QCA1530_DETECT_TIMEOUT; ++i)
{
- ret = property_get(qca1530_property_name, buf, NULL);
+ ret = platform_lib_abstraction_property_get(qca1530_property_name, buf, NULL);
if (ret < 0)
{
LOC_LOGV( "qca1530: property %s is not accessible, ret=%d",
@@ -165,7 +164,7 @@ unsigned int loc_get_target(void)
goto detected;
}
- property_get("ro.baseband", baseband, "");
+ platform_lib_abstraction_property_get("ro.baseband", baseband, "");
if (!access(hw_platform, F_OK)) {
read_a_line(hw_platform, rd_hw_platform, LINE_LEN);
} else {