summaryrefslogtreecommitdiff
path: root/utils/loc_target.cpp
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2018-07-23 14:11:58 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-07-23 17:58:04 -0700
commit06d93da4a1ad7559356e489e6b342490dc53aa09 (patch)
treeea2a0ace0eebcfd850ee2c0745167560b471dd66 /utils/loc_target.cpp
parent6bb4b271cf43e9f99ee40decc287dbc889d596c2 (diff)
downloadgps-06d93da4a1ad7559356e489e6b342490dc53aa09.tar.gz
Deprecate reading of ro.lean property
ro.lean property is no longer used, so remove reading logic of this property. If ro.lean is added in the future, it will need vendor prefix. Change-Id: I6b5e891f6d59c0809f9136541bbfb6696cbf4d5a CRs-fixed: 2282702
Diffstat (limited to 'utils/loc_target.cpp')
-rw-r--r--utils/loc_target.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/utils/loc_target.cpp b/utils/loc_target.cpp
index f116e5e..f6fd728 100644
--- a/utils/loc_target.cpp
+++ b/utils/loc_target.cpp
@@ -208,16 +208,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()
-{
- 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));
-}