From aa3b4c7eec9fd8af555b831d9d534e944648d352 Mon Sep 17 00:00:00 2001 From: Wyatt Riley Date: Mon, 17 Oct 2016 12:00:34 -0700 Subject: [PATCH] Xtra Fixes - https, version check & version 3 Tells Qualcomm GPS hardware to: 1) Use https 2) Use the more secture version 3 file 3) Check that the XTRA file version downloaded matches the version expected - i.e. the more secure (signed) version 3 Test: On device, via adb push/pull, watched Xtra download logs and confirmed GPS acted as if Xtra assisted Bug: 31470303 Change-Id: Ib2a1b9ec9be32f842a158c05fa2ba04cb0262b76 --- gps/etc/gps.conf | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gps/etc/gps.conf b/gps/etc/gps.conf index ca089b8..df27575 100644 --- a/gps/etc/gps.conf +++ b/gps/etc/gps.conf @@ -1,15 +1,14 @@ -#Uncommenting these urls would only enable -#the power up auto injection and force injection(test case). -#XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin -#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin -#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin +#URLs from which to download XTRA data +XTRA_SERVER_1=https://xtrapath1.izatcloud.net/xtra3grc.bin +XTRA_SERVER_2=https://xtrapath2.izatcloud.net/xtra3grc.bin +XTRA_SERVER_3=https://xtrapath3.izatcloud.net/xtra3grc.bin #Version check for XTRA #DISABLE = 0 #AUTO = 1 #XTRA2 = 2 #XTRA3 = 3 -XTRA_VERSION_CHECK=0 +XTRA_VERSION_CHECK=1 # Error Estimate # _SET = 1