summaryrefslogtreecommitdiff
path: root/utils/loc_target.h
diff options
context:
space:
mode:
authorMadhanraj Chelladurai <mchellad@codeaurora.org>2016-03-17 11:58:51 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-04-27 23:43:17 -0700
commitedc2a648b3525006eded5d99091c248268425011 (patch)
tree59950fad7d735a8843486e5533c9fb3198781e65 /utils/loc_target.h
parent1fb9826d91360a2105241a368914eaab9b86151f (diff)
downloadgps-edc2a648b3525006eded5d99091c248268425011.tar.gz
gps: include support to check hardware type property
automotive platform introduced a new android property called ro.hardware.type to detect automotive platform for the purpose of having automotive specific features. Added changes in loc_target to detect auto platform. Change-Id: Ib886b96b2e95dafc151bead041e5fc3d6740c468 CRs-Fixed: 992647
Diffstat (limited to 'utils/loc_target.h')
-rw-r--r--utils/loc_target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/loc_target.h b/utils/loc_target.h
index 3bb3b5e..b76ed88 100644
--- a/utils/loc_target.h
+++ b/utils/loc_target.h
@@ -52,6 +52,10 @@ void loc_get_target_baseband(char *baseband, int array_length);
/*The character array passed to this function should have length
of atleast PROPERTY_VALUE_MAX*/
void loc_get_platform_name(char *platform_name, int array_length);
+/*The character array passed to this function should have length
+ of atleast PROPERTY_VALUE_MAX*/
+void loc_get_auto_platform_name(char *platform_name, int array_length);
+
/*Reads the property ro.lean to identify if this is a lean target
Returns:
0 if not a lean and mean target