summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyatt Riley <wyattriley@google.com>2016-10-17 13:44:38 -0700
committergitbuildkicker <android-build@google.com>2016-10-27 15:18:40 -0700
commitae0d62ccc80677ab12930e3c6ae4fb87fce01f13 (patch)
tree606e53b2c07195bc2fa40b7c32d1316bea295fbb
parentff957d4fdbf4d658e062dbdc5f7362b5b3557ea5 (diff)
downloadbullhead-nougat-mr0.5-release.tar.gz
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: Tested live on device, on nyc-mr1 Bug: 31470303 Change-Id: Ib8b3494d622d760e349cac03bad15faaf0477093 (cherry picked from commit 9f6cc5e1600e127ef70d43ae795a2cc6922a03d0)
-rw-r--r--gps.conf15
1 files changed, 12 insertions, 3 deletions
diff --git a/gps.conf b/gps.conf
index 6ad636b..a73bcdd 100644
--- a/gps.conf
+++ b/gps.conf
@@ -3,11 +3,20 @@
# below will be ignored, and instead the servers will
# be queried from the modem.
XTRA_SERVER_QUERY=0
+
+# URLs from which to download XTRA data
# XTRA_SERVERs below are used only if XTRA_SERVER_QUERY
# is off.
-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
+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=1
# Error Estimate
# _SET = 1