From 5b98ce35cda35d965332e27fbd40a0b46669b7f1 Mon Sep 17 00:00:00 2001 From: Dante Russo Date: Fri, 28 Sep 2012 15:31:11 -0700 Subject: [PATCH] gps: add support for apq8064 v2 The id for apq8064 v2 is 153 vs apq8064 v1 id of 109, so the id can be either in order to conclude that the device is apq8064 so that GSS can be launched. Change-Id: I8126854f18ba30a1fe46992993185266e9d1db18 CRs-fixed: 405494 --- loc_api/libloc_api_50001/loc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loc_api/libloc_api_50001/loc.cpp b/loc_api/libloc_api_50001/loc.cpp index baba3d7c..cca44807 100644 --- a/loc_api/libloc_api_50001/loc.cpp +++ b/loc_api/libloc_api_50001/loc.cpp @@ -216,7 +216,7 @@ static int get_target_name(void) target_name = TARGET_NAME_APQ8064_FUSION3; } else { read_a_line( id, line, LINE_LEN); - if(!strncmp(line, "109", strlen("109"))) { + if(!strncmp(line, "109", strlen("109")) || !strncmp(line, "153", strlen("153"))) { target_name = TARGET_NAME_APQ8064_STANDALONE; } }