summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyatt Riley <wyattriley@google.com>2016-10-18 08:07:29 -0700
committerWyatt Riley <wyattriley@google.com>2016-10-18 08:07:29 -0700
commita0b61b5d2c16e3656447a77a46d2b9819a19af16 (patch)
tree7acde47002b2fc3fc1ad91d7b002931f8a0b94cf
parent998f1058d2319f93af40c8268e45cf0141632c02 (diff)
downloadangler-a0b61b5d2c16e3656447a77a46d2b9819a19af16.tar.gz
Xtra Fixes - https, version check & version 3
Tells Qualcomm GPS hardware to: 1) Use https 2) Use the more secure 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 on nyc-mr1 Bug: 31470303 Change-Id: I8f0b0a37e742d4715abbddc28b97f54464550d31
-rw-r--r--location/etc/gps.conf11
1 files changed, 5 insertions, 6 deletions
diff --git a/location/etc/gps.conf b/location/etc/gps.conf
index fb22f47..56e393b 100644
--- a/location/etc/gps.conf
+++ b/location/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/xtra3grc.bin
-#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin
-#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.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